Datareader still functional?

2117 views python

I am having trouble getting the following code to work (it is directly copied from these instructions on how to download data:

from pandas_datareader import data
import matplotlib.pyplot as plt
import pandas as pd

# Define the instruments to download. We would like to see Apple, Microsoft and the S&P500 index.
tickers = ['AAPL', 'MSFT', '^GSPC']

# We would like all available data from 01/01/2000 until 12/31/2016.
start_date = '2010-01-01'
end_date = '2016-12-31'

# User to load the desired data. As simple as that.
panel_data = data.DataReader('INPX', 'google', start_date, end_date)

This is the output I get:

TypeError: super(type, obj): obj must be an instance or subtype of type

answered question

What line does the error refer to?

1 Answer


Errormessage I get when I run your code:

" 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. "

posted this

Have an answer?


Please login first before posting an answer.