Stooqifier is an automatic stock price Slack notification with chart image script that with pandas-datareader call Stooq.com API
Stooqifier is an automatic stock price Slack notification with chart image script that with pandas-datareader call Stooq.com API.
(ex. 6095.JP‘s stock price configured)
※日本語解説記事はこちら(Japanese Description is here 👉): https://zenn.dev/t_fukumoto/articles/e5e0fe753d5726
$ git clone git@github.com:f-teruhisa/stooqifier.git
$ gcloud functions deploy #{FUNCTION_NAME} --entry-point main --project #{PROJECT_ID} --region #{REGION} --runtime python39 --trigger-topic #{PUBUSB_TOPIC_NAME}
.env
.sample.env
to .env
SLACK_API_TOKEN
SLACK_CHANNEL ID
is being shown via the web browser of Slack
# .sample.env => .env
STOCK_CODE=
SLACK_API_TOKEN=
SLACK_CHANNEL_ID=
Then, the function test will pass.
#{TOPIC_NAME}
which was created in Deploy to Google Cloud Functions, as the topicgit checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)