For those using yf(yfinance)
tickers = ['PG', 'MSFT', 'T', 'GE']
new_data = pd.DataFrame()
for t in tickers:
new_data[t]=yf.download(t, start = '1995-01-01')['Adj Close']
new_data.head()
0 answers ( 0 marked as helpful)
tickers = ['PG', 'MSFT', 'T', 'GE']
new_data = pd.DataFrame()
for t in tickers:
new_data[t]=yf.download(t, start = '1995-01-01')['Adj Close']
new_data.head()