I want to create a dataframe with values for each ticker i'm making a request.
Each data frame needs to have the name of each ticker name so when i call the variable MMM i will get data from MMM ticker.
import pandas as pd
import yfinance as yf
tickets = ['MMM',
'ABT',
'ABBV',
'ABMD',
'ACN',
'ATVI']
for i in tickets:
value = yf.download(str(i), start = "2017-06-14", end = "2021-06-14", interval="1d")
value = i = value['Adj Close']
In the end, I want to have 6 variables with the name of each ticker.