pandas-datareader
pandas-datareader copied to clipboard
Unable to fetch Yahoo options table using Jupyter Notebook
Yahoo Options has been immediately deprecated due to large breaks in the API without the introduction of a stable replacement. Pull Requests to re-enable these data connectors are welcome.
Hi i'm facing the same issue
Any updates???
I am facing the same issue and I'm new to coding. Anyone can help on this?
It is still working for me, I had to work around the wrapper of the Yahoo call. Here is the code that is still working, I hope this helps!
from pandas_datareader.yahoo.options import Options as YahooOptions underlying_symbol = 'SPY' options_obj = YahooOptions(underlying_symbol) options_frame_live = options_obj.get_options_data()
@rkraghavkh18 thanks bro it worked!!!
it works. thank you
I tried the codes above but the comments below still appear.
ImmediateDeprecationError Traceback (most recent call last)
~/opt/anaconda3/lib/python3.8/site-packages/pandas_datareader/data.py in Options(symbol, data_source, session) 690 data_source = "yahoo" 691 if data_source == "yahoo": --> 692 raise ImmediateDeprecationError(DEP_ERROR_MSG.format("Yahoo Options")) 693 return YahooOptions(symbol, session=session) 694 else:
ImmediateDeprecationError: Yahoo Options has been immediately deprecated due to large breaks in the API without the introduction of a stable replacement. Pull Requests to re-enable these data connectors are welcome.