Skip to content

script for monitoring of cryptocoin prices and alert drops on a notify.run channel

Notifications You must be signed in to change notification settings

ew3g/cryptocoin-notifications

Repository files navigation

cryptocoin-notifications

script for monitoring of cryptocoin prices and alert drops on a bot in telegram

Installation

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

Usage

python run.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GNU GENERAL PUBLIC LICENSE

Thanking

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.