-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bug reportSomething isn't workingSomething isn't working
Description
Markets widget doesn't show day change properly for all symbols.
Glance version: 0.8.4
In this screenshot, ASWC.DE should display -2.29%

Actual day change of ASWC.DE from Yahoo Finance:

I speculate it might have to do with Yahoo Finance sometimes returning null values in response at: result.Indicators.Quote[0].Close, for example:
ASWC.DE Yahoo API reponse with null values:
https://query1.finance.yahoo.com/v8/finance/chart/aswc.de?range=1mo&interval=1d

DFEN.DE Yahoo API response with no null values:
https://query1.finance.yahoo.com/v8/finance/chart/dfen.de?range=1mo&interval=1d

Steps to reproduce:
Can be unreliable, depending if Yahoo API returns null values or not.
- Add markets widget to glance.yml with these symbols:
- type: markets
markets:
- symbol: SPYI.DE
name: SPYI
- symbol: QDVE.DE
name: S&P IT
- symbol: ASWC.DE
name: Future of Defence
- symbol: DFEN.DE
name: VanEck Defense
- Check whether Glance dashboard incorrectly displays +0.00% for any of the symbols.
Full JSONs for ASWC.DE and DFEN.DE:
TheCeet
Metadata
Metadata
Assignees
Labels
bug reportSomething isn't workingSomething isn't working