CLI tool for checking portfolio performance, data fetched from CoinGecko API.
- Git clone/checkout
- npm install
- Portfolio configuration
-
Create a
./holdings.js
file in the project's root folder or in a custom folder location. If you're using a custom folder location, please refer toEnvironment Configuration
. -
Add your portfolio configuration to your newly created
./holdings.js
file:
module.exports = {
'bitcoin': 1,
'ethereum': 10,
}
TIP Use Coingecko GET /coins/list to get ticker ID's
- To load your
holdings.js
file from a custom folder location, create a.env
file in your project's root folder:
HOLDINGS_FILE_PATH=/Users/John/path_to_your_holding.js