-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
earnings_dates not available #1932
Comments
Yahoo has changed table structure
Event name is nice addition, but losing dates a problem. Hoping for a way to get old structure. Probably Yahoo has broken their redesign rollout, because their |
Looks like yahoo fixed their problem. yfinance works fine now. I suggest you close this issue. |
I suspect it will return, I've seen this alternative table randomly rarely over last few weeks. Yahoo is up to something... |
For some tickers, it works and some others it doesn't. At this time, ENB.TO works, TSLA still gives the issue. |
It returned to normal, interesting! |
Looks like Yahoo finance's earnings tab blew up again. |
This works fine now, but it's also pulling up non-quarterly earnings. Depending on how Yahoo Finance plans to move forward with the earnings table, can we please add an option in the future to filter out the non-quarterly earnings? Right now, we can tell which ones are quarterly by the Company column: However, this column is omitted in the get_earnings function. |
Keeping column |
Having the issue starting from this week. |
As of today, some tickers work perfectly fine, some tickers give the 'Earnings Date' KeyError. |
when I tried to get the earnings of AI. https://finance.yahoo.com/calendar/earnings/?symbol=AI, yahoo may need some time to run js. I also tried selenium. It works but much slower. |
Describe bug
The earnings_dates record is not available
Simple code that reproduces your problem
import yfinance as yf
msft = yf.Ticker('MSFT')
msft.earnings_dates
Debug log
Bad data proof
No response
yfinance
versionyfinance 0.2.38
Python version
python3.10
Operating system
ubuntu
The text was updated successfully, but these errors were encountered: