An open API service indexing awesome lists of open source software.

https://github.com/enrichman/portfolio-performance


https://github.com/enrichman/portfolio-performance

Last synced: 7 months ago
JSON representation

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`

screenshot_1

You will be able to see the graph in the main screen now:

Screen Shot 2023-03-30 at 14 40 48