Stock Price Notification Using Telegram Bot and Web Scrap
by ardhiwahyudhi in Circuits > Software
1470 Views, 0 Favorites, 0 Comments
Stock Price Notification Using Telegram Bot and Web Scrap
![banner.jpg](/proxy/?url=https://content.instructables.com/FXC/30H1/KJ1FGBWJ/FXC30H1KJ1FGBWJ.jpg&filename=banner.jpg)
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
![chat_id.png](/proxy/?url=https://content.instructables.com/F9Q/L723/KJ1FGC31/F9QL723KJ1FGC31.png&filename=chat_id.png)
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
![stockbot.png](/proxy/?url=https://content.instructables.com/FTL/MPXE/KJ1FGC9A/FTLMPXEKJ1FGC9A.png&filename=stockbot.png)
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