Where and how to get the equity historical data (at least covers 2008)?
问题 I can use the following code to get historical data from Google Finance. But the oldest is from 2016-09-20. This is too short for back testing. I need historical data which covers the year of 2008. import pandas_datareader.data as web start = datetime.datetime(2002, 1, 1) end = datetime.datetime(2017, 1, 27) aapl = DataReader("AAPL", "google", start, end) print(len(aapl)) print(aapl.head()) The outputs are as follow: Open High Low Close Volume Date 2016-09-20 35.02 35.06 33.91 34.44 21192908