How can we get Open Interest in Futures from Dhan
Hi @Karun149 ,
Use the below code to fetch open interest for futures from Dhan:
name = 'NIFTY JUN FUT'
quote_data = tsl.get_quote_data(name)
oi_data = quote_data[name]['oi']
1 Like