-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since about 8pm UTC yesterday, it started only returning 404 Errors #192
Comments
I'm seeing this too. It appears to be random. Runs for a while and then gets the 404 error. My current workaround is to put it in a retry loop but this shouldn't be needed. Server: Windows 11 |
Interesting, I've had no success, since it started failing
|
Looks the same as #178. Last time the url can back online around 24hrs later... |
reading that, the URL changed & the code was updated - I guess wait & see :) |
Seems random to me. I’m passing a list of ~140 stock and index symbols and then using the ‘quotes’ entry. I seem to be ok by doing:
ok = False
numRetries = 5
for i in range(numRetries):
tic = Ticker(val,timeout=5)
qts = tic.quotes
if not isinstance(qts,dict):
print(f'ERROR: qts is not a dict\n{qts=}')
print('Retrying {i}')
continue
else:
ok = True
break
Hope this helps!
Charlie
From: James Stevens ***@***.***>
Sent: Wednesday, May 24, 2023 11:04 AM
To: dpguthrie/yahooquery ***@***.***>
Cc: chfiii ***@***.***>; Comment ***@***.***>
Subject: Re: [dpguthrie/yahooquery] Since about 8pm UTC yesterday, it stopped working (Issue #192)
Interesting, I've had no success, since it started failing
—
Reply to this email directly, view it on GitHub <#192 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACX2GP5KGW5AOXISASDOT3TXHYPOZANCNFSM6AAAAAAYNHDPGE> .
You are receiving this because you commented.Message ID: ***@***.***>
|
I get |
Strange. Your test runs fine for me. I'm only seeing the 404 sporadically and the retry gets it. |
Last time it happened it did appear to be a regional thing |
FYI I'm in Connecticut, USA |
I'm just getting the 404 error as well. From Canada. Also seems random. |
I'm still getting nothing but 404s here in the UK - so looks like its not going to cure itself in 24 hrs |
I noticed it seems to just be the "tickers.quotes" request that is returning a 404 error. The other modules I'm using are still working, i.e. ticker.price, history, option chain, etc. |
Well spotted, nice one! - same for me - gonna need to tweak my code now :) |
Me too!! Thanks for the heads up! |
Thank you so much - I got my code working again now - Super pleased cos I was missing seeing my As far as I concerned this can be closed, but |
It seems that the price module is taking a lot longer that the quotes one. I was averaging about 1.2 seconds for 136 quotes and now its taking ~10 seconds. Anyone else seeing this? |
Price works ok for me but missing the day's and 52 week ranges |
I only do a small number - about 27, so it works fine for me - I also update the prices in the background 4 times an hour, so 1s or 10s is really neither here nor there to me |
I tend to update around every 90 seconds so I'm still ok but disappointed in the slowdown, especially it seem to be a subset of the quotes output. |
|
Agree that the randomness has gone away. It’s dead all the time now. Missing the 52 week high/low, just returning a ‘N/A’ for now. And the price module is 7-10 times slower |
Hi everyone, I also get 404 error from "tickers.quotes" request since 25 May from Turkey. There are important KPIs in quotes that are not available elsewhere, like "bookValue" and "priceToBook". Since I am a beginner, do you have any idea if and when this would be fixed? Thanks! |
For me, I get a list of 27 via I pull the list of tickers from a database & pass the entire list to
(this is not posted for you to critique my Python 🤣 ) |
FYI: One thing I noticed when I switched from quotes to price is that the change% needs to be multiplied by 100 to get the true change percentage. |
For those looking for other variabale, the data.summary_detail and the data.key_stats are also still working. Here is a sample of the output fields for each..... Summary Detail... fields: algorithm,ask,askSize,averageDailyVolume10Day,averageVolume,averageVolume10days,beta,bid,bidSize,coinMarketCapLink,currency,dayHigh,dayLow,dividendRate,dividendYield,exDividendDate,fiftyDayAverage,fiftyTwoWeekHigh,fiftyTwoWeekLow,fiveYearAvgDividendYield,forwardPE,fromCurrency,lastMarket,marketCap,maxAge,open,payoutRatio,previousClose,priceHint,priceToSalesTrailing12Months,regularMarketDayHigh,regularMarketDayLow,regularMarketOpen,regularMarketPreviousClose,regularMarketVolume,toCurrency,tradeable,trailingAnnualDividendRate,trailingAnnualDividendYield,trailingPE,twoHundredDayAverage,volume |
Thanks. This does help as I wanted fiftyTwoWeekHigh./Low. Didn't want to use the history,'1y'' as way too much data |
Dear @pfuller88,thank you very much!!!! This helps a lot because I did not know about .keystats:)) You saved me hours and hours as some of the kPIs like priceToBook, sharesOutstanding and many useful stuff disappeared in .quotes. |
In my case, accessed from Qatar. all_financial_data(frequency='a') still working fine, but all_financial_data(frequency='q') got 'HTTP 404 Not Found.' error. |
thx for that .... still unfortunate that quotes isn't reliable, but prize will do the trick for me |
While the link blow is not the exact link use in the code but from the comments it seem |
This is indeed the same issue. |
There's a potential fix to this issue here. |
Any solution for this issue? I still receive error: |
Describe the bug
Ticker("TSLA").quotes
returnsHTTP 404 Not Found
To Reproduce
OUTPUT:
HTTP 404 Not Found
Expected behavior
Should return ticker data
Server (please complete the following information):
Additional context
Service was working fine for a couple of months until about 8pm UTC 23rd May (yesterday)
The text was updated successfully, but these errors were encountered: