-
-
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
No options data anymore? #1738
Comments
Also facing the same issue here. |
Same here. I was able to get a list of options for 1 min, but its stopped again. |
Same issue here also. |
Look like Yahoo step by step is trying to block any robo-request. |
Does #1657 help? |
Strange. My script finishes w/o any issue this evening... |
After a few hours it started working. |
/home/robert/PycharmProjects/get_prospects/env/bin/python /home/robert/PycharmProjects/get_prospects/tests/a_cookie and crumb/test_it.py Process finished with exit code 0 |
|
Looks like this was a local Yahoo problem. Is this issue still necessary? |
No, it is not necesssary anymore. You are right it has been a yahoo issue |
Yahoo problem. Non existing anymore |
the problem still exist. !!! can't reach data. options returns nothing. |
Yes, it still exists. I cannot download options data! |
Is there options data for your tickers on Yahoo site? |
I faced this issue two times. First time it was an yahoo issue. It was ok next day then. Second time has been an issue related to python version which i could reveal by updating to latest version 3.12.xx Which python do you use? |
the issue is resolved in |
This does the trick. Your yfinance module has be newer. |
Describe bug
Since yesterday (11/07/2023) my script does not get any options data anymore. Does someone else run into this problem? The script runs for more than year every day w/o any issues. Debugging reveals, no expiration are loaded...
Important to say: Options data on website is ok.
Simple code that reproduces your problem
Basic code from my Juyter NB:
xsp = yf.Ticker('^XSP')
gives back an object:
pulling expiration list:
returns nothing. The list is empty, therefor no options data is returned.
Debug log
Jupyter Notebook
Logout
current mode
File
Edit
View
Language
1
Error! /Users/crg/myPython/yFinance/old_skripts/yfinance.cache is not UTF-8 encoded
2
Saving disabled.
3
See Console for more details.
Bad data proof
No response
yfinance
versionName: yfinance Version: 0.2.31
Python version
No response
Operating system
No response
The text was updated successfully, but these errors were encountered: