A small script to intermittently poll coinmarketcap for current price for a handful of cryptocurrencies.
- Clone the repo
- Run
npm install
- Create
coins.yml
file - Put the coins and amount you're holding in the
coins.yml
file following the pattern below - Run
node index.js
and it will report the current price of each coin in the coins.yml file, and your total holding value
The slug is the final part in the url path from coinmarketcap. For example, the slug you would use for the bitcoin coinmarketcap page https://coinmarketcap.com/currencies/bitcoin/
would be bitcoin
.
-
slug: bitcoin
holding: 1
-
slug: dogecoin
holding: 10000
-
slug: cardano
holding: 300