@rajeshsubhankar/create-crypto-portfolio

1.0.3 • Public • Published

Crypto-Portfolio

A CLI application to get crypto portfolio in USD.

How to Install and Use

Without Source

# Using npx
npx @rajeshsubhankar/create-crypto-portfolio
npx @rajeshsubhankar/create-crypto-portfolio --token BTC
npx @rajeshsubhankar/create-crypto-portfolio --date 2019-03-23
npx @rajeshsubhankar/create-crypto-portfolio --token BTC --date 2019-03-23
# Using npm
npm install -g @rajeshsubhankar/create-crypto-portfolio
create-crypto-portfolio
create-crypto-portfolio --token BTC

With Source

git clone https://github.com/rajeshsubhankar/propine-interview.git
cd propine-interview/q2/create-crypto-portfolio
npm install
npm init @rajeshsubhankar/crypto-portfolio
npm init @rajeshsubhankar/crypto-portfolio --token BTC

Design Decisions

  • Transaction history file is not shipped with the application
  • sqlite is used to load all the data from the .csv file for faster queries
  • Tradeoff between one-time use vs multi-use. This application is intended for multi-use so, it is expected to take 15-20 minutes for the first time setup (file download and db setup is one time process).

Package Sidebar

Install

npm i @rajeshsubhankar/create-crypto-portfolio

Weekly Downloads

5

Version

1.0.3

License

ISC

Unpacked Size

9.64 kB

Total Files

9

Last publish

Collaborators

  • rajeshsubhankar