I wanted to have the cumulative OI for all the individual stocks, when I fetch the data for stocks i do get other data like market depth and ohlc but the oi section remains 0. I have attached the photo where the data is being shown
Equity instrument don't have OI. OI is only for F&O contracts. Also, you need to compute cumulate value at your end, as OI is available only for each F& O contract.
We don't provide support for programming. This forum is purely dedicated to KiteConnect APIs. And,I can see,that you fetched the quote in your attached image in python only. So,you can find your answer yourself if you try little bit.
You can refer here for python documentation:
https://kite.trade/docs/connect/v3/market-quotes/#market-quotes
You can also use Websocket if you want data very frequently.
https://kite.trade/docs/connect/v3/websocket/
You need to calculate cumulative oi at your end as mentioned above by Rakesh Sir .
You can refer here for python documentation:
https://github.com/zerodha/pykiteconnect
https://kite.trade/docs/pykiteconnect/v4/