StockMarket_Project icon indicating copy to clipboard operation
StockMarket_Project copied to clipboard

Error at Line 55

Open MonilSompura opened this issue 2 years ago • 1 comments

File "C:\PycharmProjects\pythonProject\main.py", line 55, in fetch_oi ce_dt = pd.DataFrame(ce_values).sort_values(['openInterest'], ascending=False)

KeyError: 'openInterest'

MonilSompura avatar Jun 19 '22 10:06 MonilSompura

You must be running the code with a past expiry date. Change the Expiry Date at the bottom to a future date

vishaldamani avatar Oct 19 '22 13:10 vishaldamani