Archit
 · Independent Algo Trader

Market Depth API call, OI data issue

I'm not getting OI data values from the Market Depth API call for the option instrument. This is the response I'm getting from the API call.

{'d': {'NSE:BANKNIFTY23N1544400PE': {'totalbuyqty': 6209790, 'totalsellqty': 304455, 'ask': [{'price': 188.95, 'volume': 75, 'ord': 2}, {'price': 189, 'volume': 6990, 'ord': 8}, {'price': 189.05, 'volume': 210, 'ord': 2}, {'price': 189.1, 'volume': 60, 'ord': 3}, {'price': 189.15, 'volume': 195, 'ord': 1}], 'bids': [{'price': 188.7, 'volume': 180, 'ord': 2}, {'price': 188.6, 'volume': 375, 'ord': 5}, {'price': 188.55, 'volume': 30, 'ord': 2}, {'price': 188.5, 'volume': 465, 'ord': 9}, {'price': 188.45, 'volume': 270, 'ord': 3}], 'o': 180.5, 'h': 252.95, 'l': 125, 'c': 511.8, 'chp': -63.120359515435716, 'tick_Size': 0.05, 'ch': -323.05, 'ltq': 45, 'ltt': 1700022552, 'ltp': 188.75, 'v': 26483220, 'atp': 166.83, 'lower_ckt': 0.05, 'upper_ckt': 1843.7, 'expiry': '1700058600', 'oi': 0, 'oiflag': True, 'pdoi': 0, 'oipercent': 0}}, 'message': '', 's': 'ok'}
8 replies