A simple cryptocurrency CLI to track your portfolio value with live updates.
$ npm install -g cryptfolio
Before you begin you must add your portfolio in $HOME/.cryptfolio/portfolio.json.
$ mkdir .cryptfolio
$ cd .cryptfolio
$ touch portfolio.json
Add your crypto values the following format:
{
"xrp": 300,
"eth": 2,
"btc": 1.2
}
Once your portfolio is created, simply run the command:
$ cryptfolio
Use -c (or --convert) to specify the specific currency you would like to use (USD is default).
Cryptfolio supports AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR. You can also convert values to Bitcoin by specifying BTC.
$ cryptfolio -c aud
Use -i (or --interval) to set your preferred API request interval (in minutes). The default is 2 minutes.
$ cryptfolio -i 5
Use the -l (or --limit) to see your remaining CryptoCompare API calls.
The limits are: Hour limit - 100000, Minute limit - 2000, Second limit - 50.
If you would like any feature just add a pull request or add an issue with a feature tag.
MIT
