portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.88k stars 596 forks source link

Currency problem with new stock #4109

Open traits opened 3 months ago

traits commented 3 months ago

I created a new entry for ISIN: US46120E6023 resp ISRG with currency set to "EUR". Unfortunately, I have to fall back to Yahoo's default as share price source (in USD), because only one European exchange, not quite suiting me, offers price and history in Euro. Server answer from Yahoo is something like:

        {
          "meta": {
            "currency": "USD",
            "symbol": "ISRG",
            "exchangeName": "NMS",
            "fullExchangeName": "NasdaqGS",
            "instrumentType": "EQUITY",
            "firstTradeDate": 961162200,
            "regularMarketTime": 1719496649,
            "hasPrePostMarketData": true,
            "gmtoffset": -14400,
            "timezone": "EDT",
            "exchangeTimezoneName": "America/New_York",
            "regularMarketPrice": 442.25,
            "fiftyTwoWeekHigh": 445.79,
            "fiftyTwoWeekLow": 441.84,
            "regularMarketDayHigh": 445.79,
            "regularMarketDayLow": 441.84,
            "regularMarketVolume": 78242,
            "chartPreviousClose": 400.1,
            "priceHint": 2,
            ...
          }
        }

This regularMarketPrice is shown in all the widgets that I have checked, despite the fact that it should be converted, as demanded by the stocks settings. Yesterday - the day of first purchase - this worked correctly IIRC. Or does this constellation have a fundamental limitation?

Sn1kk3r5 commented 3 months ago

@traits

Quotes are not converted. You need to find a quote source that fits your needs.

Cheers

Sn1kk3r5 commented 3 months ago

Portfolio Report should as well cover your needs and let you choose the currency: https://www.portfolio-report.net/securities/cddb0355c4b349a8aaddcd9d573c1890