Skip to content

DickensJuma/digital_portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📟 Digital Asset Portfolio Node.js CLI applications.

about-project

  • 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]

Install

# 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]

Usage

  1. Install packages
npm install

  1. Run the CLI using
npm start


BASIC USAGE

argument example

- token [btc, eth, xrp]
- timestamp [90229622,90229750,90229767]

Demo

digital_assets



workflow

workflow

[📃][repo]

License & Conduct


About

Digital Asset Portfolio Node.js CLI applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published