You provide coins tickers and quantities and the script will fetch prices, calculate totals and your portfolio allocation.
You can define multiple currencies so you can see your portfolio value in USD, GBP, BTC etc..
Similar to the following 👇
The advantages of doing this in a spreadsheet is that:
- 🔥 you can very easily play with the numbers to run scenarios (what if bitcoin is $100K?)
- 🔥 it's easier than in Delta or Blockfolio/FTX to see everything at once
- 🔥 you can print it (why would you do that, though?)
✨ As an added bonus, every time the prices are taken, a snapshot of your portfolio is added to a "history" sheet.
-
Get a free API key from CoinMarketCap. This is where we get the price data from.
Get it here: https://pro.coinmarketcap.com/signup -
Create a new sheet in Google Sheets.
- Click on Tools/Script Editor.
- Remove the code in the Code.gs file and copy the code in https://github.com/bokobza/portfolio-tracker/blob/main/portfolio.gs
After that, click "Save project".
- Review the permissions process (this is all internal to you).
- Now head over to the "portfolio" sheet and add the coins and quantity you want to track.
- Go to the "settings" sheet and copy the API key you got from CoinMarketCap.
- Set up is done. Now click on the "Refresh" button to compute all the data.
- et voilà  !








