Sends desktop notifications about the prices of crypto currencies, when their price is different than a fixed min or max price. Prices are retrieved from Coinmarketcap every minute.
- Mac OSX
- Python3
- terminal-notifier
Clone and access the repository
git clone https://github.com/RyanOM/coinPriceNotifications.git
cd coinPriceNotifications
Create a Python3 virtualenv and activate it:
virtualenv coinsVirtualEnv -p python3
source coinsVirtualEnv/bin/activate
Install the dependencies:
pip install -r requirements.txt
You can generate listeners for the top ten currencies on https://coinmarketcap.com by running:
python main.py generate_coins_config
By default, this will generate notifications when the price goes over/under 20% than the current price. You can specify a different threshold by running the command as such (in the case of 5%):
python main.py generate_coins_config 5
You can also modify the coin-config.json
file and adjust the min
and max
values.
The active
parameter can also be modified to false
allowing the user not to receive notifications about the currency.
You can start the listener by running:
python main.py track_coins
Clicking on the notification will direct you to the Coinmarketcap page of the currency.