Error

Course Name: Getting Market Data: Stocks, Crypto, News & Fundamental, Section No: 6, Unit No: 1, Unit type: Notebook

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
Input In [6], in <cell line: 2>()
      1 # Get options chain for specific expiration date
----> 2 option_chain = msft.option_chain(date=msft.options[0])

IndexError: tuple index out of range

Hi Adam,



The error you are getting should be resolved if you upgrade yfinance.



At the beginning of the notebook, there's a raw NBConvert cell for upgrading yfinance. You can simply convert this cell to "Code" and re-run the notebook.



Let me know if this resolves your issue



Thanks

Rushda