Code for getting Future OI data

What is the code to get future OI data? Can i get it with option chain?

Hi @Sobhit ,

refer the below code:

name = "NIFTY FEB FUT"
quote_data = tsl.get_quote(name) 
oi_data = quote_data[name]['oi']