Skip to content

Track your crypto portfolio using Google Sheets and CoinMarketCap.

Notifications You must be signed in to change notification settings

bokobza/portfolio-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Portfolio Tracker 📈

Track your crypto portfolio using Google Sheets and CoinMarketCap.

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 👇

image

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.

Setup (you only do this once)

  1. Get a free API key from CoinMarketCap. This is where we get the price data from.
    Get it here: https://pro.coinmarketcap.com/signup

  2. Create a new sheet in Google Sheets.

image

  1. Click on Tools/Script Editor.

image

  1. 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".

image image

  1. Review the permissions process (this is all internal to you).

image

  1. Now head over to the "portfolio" sheet and add the coins and quantity you want to track.

image

  1. Go to the "settings" sheet and copy the API key you got from CoinMarketCap.

image

  1. Set up is done. Now click on the "Refresh" button to compute all the data.

image

  1. et voilà !

image

About

Track your crypto portfolio using Google Sheets and CoinMarketCap.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published