import statsmodels.api as sm
import pandas as pd
import pandas_datareader as web
import matplotlib.pyplot as plt
%matplotlib inline
start = pd.to_datetime('2010-01-04')
end = pd.to_datetime('2020-04-16')
spy_etf = web.DataReader('SPY', 'yahoo', start, end)
spy_etf.info()
spy_etf.head()
aapl = web.DataReader('AAPL', 'yahoo', start