Stock Price Notification Using Telegram Bot and Web Scrap

Introduction: Stock Price Notification Using Telegram Bot and Web Scrap

About: Technology is about helping to simplify human work. I am just a enthusiast of technology and I fell in love with the Internet of Things.

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

Step 1: 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/

Step 2: 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

Step 3: 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

Be the First to Share

    Recommendations

    • Halloween Contest

      Halloween Contest
    • Plastic Challenge

      Plastic Challenge
    • Micro:bit Contest

      Micro:bit Contest

    Comments