Stock Price Notification Using Telegram Bot and Web Scrap
by ardhiwahyudhi in Circuits > Software
1451 Views, 0 Favorites, 0 Comments
Stock Price Notification Using Telegram Bot and Web Scrap
Hello! This time I will make a notification about stock prices using the telegram bot and the web scrap method.
The goal is that I can know the updated stock price for stock trading haha :D
* Stock prices are taken from indopremier.com
Supplies
1. Laptop / Computer
2. Python
3. Telegram
4. Internet Connection
Create a Bot
You can visit the following link, then just follow for the first step.
https://www.instructables.com/Telegram-Bot-With-NodeMCU-ESP8266/
Get Your Chat ID
1. Clone repo from here : Ardhi's repo
2. Open the repo/folder
3. Edit get_chat_id.py and replace "MASUKAN TOKEN BOT ANDA" with your bot token
4. Run get_chat_id.py using Python
5. Send any message to your bot
6. Note down your chat ID that appears in the terminal / the ouput
Start Enabling Notifications
1. Open the repo / folder
2. Edit stockbot.py and replace "MASUKAN TOKEN BOT ANDA" with your bot token
3. Run stockbot.py using Python
4. Enjoy the convenience of monitoring stock prices