I'm new to python and I need help.When I'm trying to get stock data from yahoo finance,I get this error.Here is my code.Thanks for helping.
from matplotlib.mpl_finance import quotes_historical_yahoo_ochl
from datetime import date
import pandas as pd
today=date.today()
start=(today.year-2,today.month,today.day)
quotesMS=quotes_historical_yahoo_ochl('MSFT',start,today)
attributes=['date','open','close','high','low','volume']
quotesdfMS=pd.DataFrame(quotesMS,columns=attributes)
print(quotesdfMS)
and the problem is at the line 6