- Build a portfolio based on a list of buy/sell transactions.
- Track historical worth, profit, and profit percentage, both per asset and overall.
- Account for different currency rates, and show all prices in a single currency.
- Set the timeframe for calculation.
- Create a new Google Spreadsheet.
- Add a sheet named
Settings
, based on samples/settings.csv. - Add a sheet named
Transactions
, based on samples/transactions.csv. - Go to
Tools > Script editor
. - Add the contents of dist/bundle.gs.
- Refresh the sheet, and click
Portfolio > Load data
from the new toolbar menu. - Add as many charts as you like 📈 📊 🚀
After cloning the repo run npm install
.
- Build the bundle:
npm run build
- Build continuously:
npm run watch
For a better development experience use clasp with
dist
as the rootDir
. Once configured, you can run the app as follows:
npm run build
clasp push
clasp run loadData