Skip to content

Cryptocurrency CLI to track your live portfolio written in Node.js

Notifications You must be signed in to change notification settings

dshaw1/cryptfolio-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptfolio CLI

A simple cryptocurrency CLI to track your portfolio value with live updates.

License: MIT PRs Welcome

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

About

Cryptocurrency CLI to track your live portfolio written in Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages