https://github.com/enrichman/portfolio-performance
https://github.com/enrichman/portfolio-performance
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/enrichman/portfolio-performance
- Owner: enrichman
- Created: 2023-03-10T10:42:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-30T04:36:14.000Z (7 months ago)
- Last Synced: 2025-07-30T06:35:23.178Z (7 months ago)
- Language: Go
- Size: 4.18 MB
- Stars: 8
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# portfolio-performance
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/.json` URL.
Example: https://enrichman.github.io/portfolio-performance/json/IT0005532723.json
## Add a quote
If a quote is not present it needs to be added in the [`securities.csv`](https://github.com/enrichman/portfolio-performance/blob/main/securities.csv). It needs the ISIN, a Name, and a "loader". If the loader does not exists already it needs to be implemented.
## How To add a quote to Portfolio Performance
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: