import datetime as dt
import pandas as pd
import yfinance as yf

stocks = ["AMZN","MSFT","APPL","GOOG"]
start = dt.datetime.today() - dt.timedelta(360)
end = dt.datetime.today()
cl_price = pd.DataFrame()
ohlcv_data = {}


# data = yf.download("MSFT", period="1mo", interval='5m')
# rs= data.head()


for ticker in stocks:
    cl_price[ticker] = yf.download(ticker, start, end)["Adj Close"]

for ticker in stocks:
    ohlcv_data[ticker] = yf.download(ticker, start, end)
    
msft = ohlcv_data["MSFT"]["Adj Close"]
    