An open API service indexing awesome lists of open source software.

https://github.com/phatpham9/crypto-roi-cli

A ROI calculator of holding top coins on coinmarketcap.com
https://github.com/phatpham9/crypto-roi-cli

cli crypto-roi cryptocurrency es6 javascript roi

Last synced: 7 months ago
JSON representation

A ROI calculator of holding top coins on coinmarketcap.com

Awesome Lists containing this project

README

          

# crypto-roi-cli
A ROI calculator of holding top coins on coinmarketcap.com

[![Package Version](https://img.shields.io/github/package-json/v/phatpham9/crypto-roi-cli.svg)]()
[![Travis](https://img.shields.io/travis/phatpham9/crypto-roi-cli.svg)](https://travis-ci.org/phatpham9/crypto-roi-cli)
[![David](https://img.shields.io/david/phatpham9/crypto-roi-cli.svg)](https://github.com/phatpham9/crypto-roi-cli)
[![David Dev](https://img.shields.io/david/dev/phatpham9/crypto-roi-cli.svg)](https://github.com/phatpham9/crypto-roi-cli)
[![NPM Version](https://img.shields.io/npm/v/crypto-roi-cli.svg)](https://www.npmjs.com/package/crypto-roi-cli)
[![NPM Downloads](https://img.shields.io/npm/dt/crypto-roi-cli.svg)](https://www.npmjs.com/package/crypto-roi-cli)

## Getting Started

### Installation
Make sure you have NodeJS >= 9, yarn (most prefered) or npm installed. Then install the cli:

```bash
yarn global add crypto-roi-cli
```

### Example

I want to calculate the ROI of `top 10` on CoinMarketCap `from 2017-01-01 to 2018-01-07` that have `price is less than 1$` and `excluded USDT & DOGE`:

```bash
roi 10 -f 2017-01-01 -t 2018-01-07 --max 1 -i USDT,DOGE
```

The result will be like this:



## Author & Contributors

- Phat Pham | Author | [Website](https://onroads.xyz) | [GitHub](https://github.com/phatpham9)
- Khang Huynh | [GitHub](https://github.com/khanghuynh92)