glanceapp / glance

A self-hosted dashboard that puts all your feeds in one place
GNU Affero General Public License v3.0
8.48k stars 295 forks source link

Unable to retrieve stock data for stock codes containing "." #71

Closed smurphboy closed 6 months ago

smurphboy commented 6 months ago

An example is VMIG.L which is a valid Yahoo Finance stock code but which errors on startup saying nothing was returned.

Looking at the logs it appears to ignore the ".L" and searches for VMIG which is not a valid stock code.

smurphboy commented 6 months ago

Solved my own problem. Escape the stock code with single quote '.

So 'VMIG.L' works.

svilenmarkov commented 6 months ago

Hey, thanks for reporting this!

Quite odd, seems to work for me without having to wrap the symbol in quotes:

- symbol: VMIG.L
  name: Vanguard

image

Good to know there's a workaround at least. I'll close this for now but feel free to leave a comment if you're having this issue again.