Phando / Streamdeck-Stonks

Streamdeck plugin stock ticker to watch your assets (market and crypto)
MIT License
25 stars 4 forks source link

Error ReceiveSymbol #38

Closed Knight1981 closed 1 year ago

Knight1981 commented 1 year ago

Since yesterday I only see "Error ReceiveSymbol". Any ideas?

radzio commented 1 year ago

Same here. It was working after latest update (https://github.com/Phando/Streamdeck-Stonks/issues/36#issuecomment-1554702413) but since yesterday it's broken again. Maybe it's connected to Stream Deck update?

Phando commented 1 year ago

Thanks for the response. I thought we had this fixed. Is this since the 1.1.4? I like the Yahoo API because the users don't need to apply for API keys. If it keeps breaking though...

justinodunn commented 1 year ago

So the past few weeks, we were having issues with v7 of their API, so the fix was to switch over to v6. Now v6 seems to be down as well, I get the error message:

{"finance":{"result":null,"error":{"code":"Not Found","description":"HTTP 404 Not Found"}}}

https://query2.finance.yahoo.com/v6/finance/quote?symbols=TSLA,COIN,MCO&fields=regularMarketPreviousClose,regularMarketPrice,preMarketPrice,preMarketChangePercent,regularMarketChangePercent,regularMarketChange,preMarketChange,postMarketPrice,postMarketChange,postMarketChangePercent&region=US&lang=en-US

ajdaniel commented 1 year ago

Broken for me again, if this is caused by Yahoo again this is absolutely rediculous - how can they keep breaking an api?!

hippoit commented 1 year ago

Borked here also, bl**dy Yahoo, should be called Ya Who???

cpass-watch commented 1 year ago

Broken again :( damn you Yahoo

Phando commented 1 year ago

To be fair, we are using an undocumented unsupported API for free. I am not sure how mad we are allowed to get. That said, it sucks and I’ll look for a workaround. What I don’t understand is that my installed version of the plugin has been working this whole time.On May 24, 2023, at 4:14 AM, cpass-watch @.***> wrote: Broken again :( damn you Yahoo

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

cpass-watch commented 1 year ago

Perhaps an update to allow the user to put in their own API key which gives the option to pay for the api key?

Phando commented 1 year ago

@cpass-watch That is an option, but would be required for all users and we would need to identify a whole other api.

justinodunn commented 1 year ago

Where are you guys located at? I tried using a VPN in the US region and the v6 url still works for me. Seems like an issue within certain countries...

hippoit commented 1 year ago

UK

cpass-watch commented 1 year ago

I can confirm that connecting to the USA via VPN brings it back, so it seems UK is blocked I am also in UK

Knight1981 commented 1 year ago

Germany doesn't work either

jfessard commented 1 year ago

I have the same issue, and I'm located in the US. (v1.1.14)

justinodunn commented 1 year ago

I have the same issue, and I'm located in the US. (v1.1.14)

Yeah, seems like they've completely taken down the v6 API...

TechFunk commented 1 year ago

Same here since Tuesday. UK

Knight1981 commented 1 year ago

Can we expect any fix regarding V7? Or is there another solution in sight?

dsocohen commented 1 year ago

Yep, same issue on my side as well. v1.1.4 in the US.

Long press still works. Nothing else does.

Phando commented 1 year ago

We could move to 8 or 10 but they do not support batched queries. If there is an api cap it might come up pretty quick. Would a 1min query be terrible?On May 25, 2023, at 6:46 AM, dsocohen @.***> wrote: Yep, same issue on my side as well. v1.1.4 in the US. Long press still works. Nothing else does.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

ctash commented 1 year ago

I'm in the US and can confirm this started happening right after I updated Stream Deck to v6.2.1.

This stocks plugin is working fine.

Phando commented 1 year ago

I am moving to Quotes API v10 and Charts API v8. Both are showing good results. The only drawback is that they are single queries per instance. I am hoping we don't run into API caps. I don't know how often the API updates, but slowing the polling interval might be the way to go as well, like 1min - 5min or so.

If any of you can find a way to make batch requests (not just a bunch of requests in a row) it would be amazing.

https://query1.finance.yahoo.com/v8/finance/chart/CRM?interval=5m&range=1d https://query2.finance.yahoo.com/v10/finance/quoteSummary/CRM?modules=price&formatted=false

Phando commented 1 year ago

@Knight1981 @radzio @justinodunn Got a fix in place, mind checking it out? https://github.com/Phando/Streamdeck-Stonks/releases

jfessard commented 1 year ago

I just grabbed the new release, I was able to get good data. That said I just have one or two buttons, not a huge amount of them. Thanks for the prompt fix, let's see how that new API does.

cpass-watch commented 1 year ago

Brilliant it now works for me, sent you a donation to grab a coffee

Phando commented 1 year ago

Fixed in v1.1.15

radzio commented 1 year ago

@Phando unfortunately, I'm still getting Error ReceivedSymbolError on 1.1.15 :(

radzio commented 1 year ago

@Phando ok it works but only if I have only 3 Stonks buttons, If I have 4 it returns ReceivedSymbolError so probably I'm hitting some API quota limit

Phando commented 1 year ago

Have you upgraded to v1.1.15? Which symbol are you seeing errors for? Is it any 4 stocks? I am running 3 stocks and 2 cryptos.On May 28, 2023, at 11:41 PM, Radek Piekarz @.***> wrote: @Phando ok it works but only if I have only 3 Stonks buttons, If I have 4 it returns ReceivedSymbolError so probably I'm hitting some API quota limit

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

radzio commented 1 year ago

@Phando

CleanShot 2023-05-31 at 08 02 00

CleanShot 2023-05-31 at 08 02 59

Phando commented 1 year ago

@radzio Thanks for the videos. Ill look into this asap.

Laumania commented 1 year ago

@radzio I see the same. I'm from Denmark. Clicking the "Yahoo Finance" link gives me a "File not found" too. Just uninstallted and reinstalled v1.1.15. image