Getting Error at OTM strike Selection as 'NIFTY'

Hello @Tradehull_Imran Sir

Since last 2 days I am getting this error while fetching option details.

(Pdb) ce_strike, pe_strike, ce_price, pe_price = tsl.OTM_Strike_Selection(Underlying=‘NIFTY’, Expiry=0)
Getting Error at OTM strike Selection as ‘NIFTY’
(Pdb) ce_strike, pe_strike, ce_price, pe_price = tsl.ITM_Strike_Selection(Underlying=‘NIFTY’, Expiry=0, ITM_count=1)
Getting Error at OTM strike Selection as ‘NIFTY’

Please help me to resolve this issue.

Thank you so much.

1 Like

Hi Sam, I have been getting the same issue. @Tradehull_Imran Sir, Can you please direct us how to guide this issue. I remeber this issue was there earlier as well and in new update it was removed.

1 Like

Hi @sam_sharma , @Amey_Nandgaonkar ,

It seems the code is working try, kindly recheck if your access token in expired-
image

Don’t know how it is working now, without any change. just added new api key today.

Many Thanks Sir!!

1 Like