ynab-portfolio-monitor/staticjsonFinnhub
2023-11-13 11:52:45 -07:00
..
client.go Add finnhub static JSON provider 2023-11-13 00:33:22 -07:00
providerImpl.go Add Static JSON Yahoo Finance provider 2023-11-13 11:52:45 -07:00
quote.go Add finnhub static JSON provider 2023-11-13 00:33:22 -07:00
README.md Add finnhub static JSON provider 2023-11-13 00:33:22 -07:00

Static JSON Finnhub Provider

If you just want to provide a static JSON file as input containing symbols and quantities owned, this provider will use finnhub for pricing quotes for the symbols provided.

Example data/staticjsonFinnhub-data.json

You can define many to many relationships, multiple YNAB accounts containing multiple types of securities using json arrays.

{
    "accounts":[
        {
            "ynabAccountId":"d54da05a-cs20-4654-bcff-9ce36f43225d",
            "securities":[
                {
                    "symbol":"SPY",
                    "quantity":420
                }
            ]
        }
    ]
}