This repository generates static JSON files with securities quotes from different sources. These quotes can be added easily in Portfolio Performance.
They are updated daily and available under the https://enrichman.github.io/portfolio-performance/json/<ISIN>.json
URL.
Example: https://enrichman.github.io/portfolio-performance/json/IT0005532723.json
If a quote is not present it needs to be added in the securities.csv
. It needs the ISIN, a Name, and a "loader". If the loader does not exists already it needs to be implemented.
Add an empty instrument and add the JSON historical quotes.
To load the quotes in Portfolio Performance just add the URL of the quotes that you need with the proper JSONPath expression:
- Date:
$.[*].date
- Close:
$.[*].close
You will be able to see the graph in the main screen now: