- Write a command line program that does the following
- Given no parameters, return the latest portfolio value per token in USD
- Given a token, return the latest portfolio value for that token in USD
- Given a date, return the portfolio value per token in USD on that date
- Given a date and a token, return the portfolio value of that token in USD on that date
[📟][repo]
# Recommended.
git clone repo
The CSV file has the following columns
timestamp: Integer number of seconds since the Epoch
transaction_type: Either a DEPOSIT or a WITHDRAWAL
token: The token symbol
amount: The amount transacted
- create account on [crytocompare] and add the API_KEY to .env
[⚙️][repo]
- Install packages
npm install
- Run the CLI using
npm start
- token [btc, eth, xrp]
- timestamp [90229622,90229750,90229767]
[📃][repo]
- ISC © Dickens Juma
- Thanks to inquirer and cryptocompare