Machine Learning, Python, Programming, Data Science, Technology.
stock = 'MSFT' # This line is parameterized. stock_list = [stock] # downloading the stock stock_data = yfinance.download(stock,start="2021-10-01", end="2022-02-14") stock_data.head(5) # plot only the Opening price of ticket data = stock_data.loc[:,"Open"].copy() # Plot the data with matplotlib