Open Interest from Zerodha

Hi, Can we fetch option chain from Zerodha to get open interest.? If yes, Please share code.

Reminder!. please share code if we can fetch option chain from Zerodha.

Hi @Sobhit ,

Here’s how you can get OI data for a script:

data = TH.get_data_for_single_script('NFO','NIFTY2531322050CE',"quote")
oi_data = data['oi']

Hi, I want to sell CE or PE with premium value of around Rs. 25 in Zerodha, What will be the code, I have code to calculate ATM strike and ATM ce and pe ltps but how would i get the strikes with premium worth 25?

Hi @Sobhit ,

For ltp based strike selection refer below video

How will i get full option chain by this code in Zerodha?

Option chain call is not supported by zerodha api.