cryptfolio

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i cryptfolio

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

7.54 MB

Total Files

8

Last publish

Collaborators

  • nuke_the_whales