- Run
yarn
to install node modules - Update stocks.json with the stocks you own, plus their quantity and cost(per share)
- Run
yarn start
to get an output for each stock and overall gain / loss
pastudan / stock-perf Goto Github PK
View Code? Open in Web Editor NEWA script to track your stock portfolio's performance compared to an index fund