Get custom price alerts for any Yahoo ticker via telegram.
How to use:
- Get a bot token from BotFather.
- Create a file 'cred.json' and add your token to it as follows: {"TOKEN": "(insert-token-here)"}
- Add the absolute path to the directory where the files are stored on your server to the PATH variable in "database.py"
- Set up "alerts.py" and "get_top_10.py" to run from crontab (every 1 or 5 min for "alerts" and every hour for "top_10").
- Set up "main.py" to run as a service.