ImmediateDeprecationError:
Google finance 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.
Google Finance has discontinued their API, and as such this feature is deprecated (marked for removal) in Pandas Datareader. Alternatives to Google Finance include Alpha Vantage, Quandl, and IEX.
How to solve this problem?
Simple, use Yahoo finance. Just pass yahoo in the arguments instead of google
Historical stock prices are still available with Yahoo but how about option prices?
I have the following code that returns the ImmediateDeprecationError
from pandas_datareader.data import Options
options_prices = Options('TSLA', 'yahoo')
options_df = options_prices.get_options_data(expiry=options_prices.expiry_dates[0])
print(options_df.tail())
Is anyone looking at this? I get error when I use Options for both yahoo and google
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.
bb = data.DataReader(name = "F", data_source="yahoo", start, end ) this worked
Nothing to do here, the API is gone.
Most helpful comment
Simple, use Yahoo finance. Just pass yahoo in the arguments instead of google