A Python script that will fetch the price of BTC every 5 min, and if below the threshold or above a certain price, will send a msg to Telegram bot.
To get this script to work, you will need the following things:
- The telegram app
- Your account’s chat_id.
Please make sure you have the Telegram app installed on your mobile phone/computer and you have an account created. You should get your Telegram chat_id. Plug in you CHAT_ID into tracker.py for script to work correctly.
Let script run on a server, or in the background of your OS. https://www.pythonanywhere.com is another resource for running python scripts.