script for monitoring of cryptocoin prices and alert drops on a bot in telegram
Use package manager pip to install all needed libs
pip install -r requirements.txt
Create an API KEY on (CoinMarketCap)[https://coinmarketcap.com/api/]
Create a bot on Telegram, simply by talking to BotFather Save the received token
After activate your virtualenv, configure your telegram-send Example:
source venv/Scripts/activate
source venv/bin/activate
telegram-send --configure
And follow the instructions
- Paste you bot token from Telegram
- Send the code/password on console to the bot
Edit the fileconfig.yml and set desired parameters, like job_running_minutes_interval, threshold_alert_drop_one_day, threshold_alert_drop_one_hour, coins and timezone
python run.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Source code for the pytz lib. Credits to Stuart Bishop.
Source code for the schedule lib. Credits to Dan Bader.
Source code for the telegram-send lib. Credits to Rahiel Kasim.