cryptfolio
v0.0.4
Published
A simple cryptocurrency CLI to track your portfolio value with live updates.
Downloads
7
Maintainers
Readme
Cryptfolio CLI
A simple cryptocurrency CLI to track your portfolio value with live updates.
Install
$ npm install -g cryptfolio
Usage
Add your portfolio
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
Options
Convert to a specific currency
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
Set polling interval
Use -i
(or --interval
) to set your preferred API request interval (in minutes). The default is 2 minutes.
$ cryptfolio -i 5
Check CryptoCompare rate limits
Use the -l
(or --limit
) to see your remaining CryptoCompare API calls.
The limits are: Hour limit - 100000, Minute limit - 2000, Second limit - 50.
Contributions
If you would like any feature just add a pull request or add an issue with a feature tag.
License
MIT