A self-hosted dashboard that puts all your feeds in one place
Go aggregatordashboarddockerfeed-readergohomelabhomepagemonitoringredditrssrss-readerself-hostedstartpageyoutube
Remove currency symbol for LSE stocks
Svilen Markovd879293b9930
diff --git a/internal/glance/widget-markets.go b/internal/glance/widget-markets.goindex b53b10a..b204d40 100644--- a/internal/glance/widget-markets.go+++ b/internal/glance/widget-markets.go@@ -106,6 +106,7 @@ type marketResponseJson struct {Symbol string `json:"symbol"`RegularMarketPrice float64 `json:"regularMarketPrice"`ChartPreviousClose float64 `json:"chartPreviousClose"`+ ExchangeName string `json:"exchangeName"`ShortName string `json:"shortName"`PriceHint int `json:"priceHint"`} `json:"meta"`@@ -174,6 +175,11 @@ func fetchMarketsDataFromYahoo(marketRequests []marketRequest) (marketList, errocurrency = result.Meta.Currency}+ // See https://github.com/glanceapp/glance/issues/757+ if result.Meta.ExchangeName == "LSE" {+ currency = ""+ }+markets = append(markets, market{marketRequest: marketRequests[i],Price: result.Meta.RegularMarketPrice,