This is a configurable email notification program that notifies users when crypto prices have reached a specified amount. This program uses API to retrieve prices, therefore users must be a member of either coinbase or coinmarketcap.
1. (Coinbase Users) Obtain coinbase access key and secret key (grant these permissions: wallet:buys:read, wallet:sells:read, wallet:accounts:read).
COINBASE_API_KEY='yourapikey'
COINBASE_API_SECRET='yourapisecret'
OR
CMC_PRO_API_KEY='yourapikey'
AWS_ACCESS_KEY_ID='yourawsaccesskey'
AWS_SECRET_ACCESS_KEY='yourawssecretkey'
SNS_TOPIC_ARN='snstopicarn'
CURRENCY='USD'
SELL_NOTIFICATION_VALUE: Get notifications to sell when crypto has reached this value (Support multiple).
BUY_NOTIFICATION_VALUE: Get notifications to buy when crypto has reached this value (Support multiple).
CRYPTOS='BTC,ETH'
SELL_NOTIFICATION_VALUE='50,000,4,000'
BUY_NOTIFICATION_VALUE='20,000,1,000'
UPDATE_INTERVAL='300'
EMAIL_SENDER='senderemail@domain.com'
EMAIL_SENDER_PASSWORD='senderemailpassword'
SMTP_SERVER='smtp.domain.com'
EMAIL_RECEIVER='receiver1@domain.com,receiver2@domain.com,receiver3@domain.com'
| Command | Description |
|---|---|
docker-compose --verbose --log-level DEBUG build cli |
Verbosely build the CLI (helpful for debugging) |
docker-compose run cli |
Hop into an environment that you can run the code on |
docker-compose run crypto-cmc-smtp |
Run crypto price fetcher |

