I need to get Stock data using pandas DataReader for the following banks:
Bank of America
CitiGroup
Goldman Sachs
JPMorgan Chase
Morgan Stanley
Wells Fargo
How to get the stock data from Jan 1st 2006 to Jan 1st 2016 for each of these banks.
I have tried...
import numpy as np
import pandas as pd
from pandas_datareader import data, wb
import matplotlib
import matplotlib.pyplot as plt
import seaborn as sns
import requests
import io
%matplotlib inline
import datetime
start = datetime.datetime(2006,1,1)
end = datetime.datetime(2016,1,1)
# Bank of America
BAC = data.DataReader("BAC",'ff', start, end)