-
Notifications
You must be signed in to change notification settings - Fork 130
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
all_financial_data doesn't work for quarterly data. #191
Comments
Same issue is occurring for me with quotes (only started less than 24 ago):
Desktop (please complete the following information):
|
same here, any solution for this issue? |
Works for me. Linux, yahooquery 2.3.1, python 3.10.11 |
I just re-ran the code above and it still doesn't work. |
@benhowell I get |
Ah, sorry, I misread! The quotes issue is further discussed here: #192 |
I just started to notice the same problem. Maybe this is indeed similar to the quotes problem #192, as @benhowell suggested. I tried it with and without YF+ session crumb and with and without user_agent, and neither seems to make a difference. |
After doing some debugging, it looks like the request is returning a 431 status code due to an incredibly long request header. This endpoint accepts a query parameter The fix would most likely be to split the list in two and make two separate requests for each symbol. This is probably still slightly better than calling each individual financials method to return the same set of data. |
all_financial_data doesn't work for quarterly data.
from yahooquery import Ticker
aapl = Ticker('aapl')
aapl.all_financial_data('q')
{'error': 'HTTP 404 Not Found. Please try again'}
stopped working on May 15th.
it works like this:
from yahooquery import Ticker
aapl = Ticker('aapl')
aapl.all_financial_data()
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: