Market Quote API returning total by quantity and total sell quantity 0?

Request curl command

curl --location ‘https://api-v2.upstox.com/market-quote/quotes?symbol=NSE_FO|50868’ \

–header ‘accept: application/json’ \

–header ‘Api-Version: 2.0’ \

Response :
{
“status”: “success”,
“data”: {
“NSE_FO:BANKNIFTY2382444400CE”: {
“ohlc”: {
“open”: 220.0,
“high”: 359.9,
“low”: 220.0,
“close”: 354.0
},
“depth”: {
“buy”: [
{
“quantity”: 75,
“price”: 353.95,
“orders”: 1
},
{
“quantity”: 180,
“price”: 353.9,
“orders”: 2
},
{
“quantity”: 390,
“price”: 353.85,
“orders”: 3
},
{
“quantity”: 165,
“price”: 353.8,
“orders”: 3
},
{
“quantity”: 150,
“price”: 353.75,
“orders”: 2
}
],
“sell”: [
{
“quantity”: 30,
“price”: 354.7,
“orders”: 1
},
{
“quantity”: 270,
“price”: 354.75,
“orders”: 3
},
{
“quantity”: 150,
“price”: 354.8,
“orders”: 2
},
{
“quantity”: 75,
“price”: 354.85,
“orders”: 1
},
{
“quantity”: 315,
“price”: 354.9,
“orders”: 2
}
]
},
“timestamp”: “2023-08-24T09:25:45.551+05:30”,
“instrument_token”: “NSE_FO|50868”,
“symbol”: “BANKNIFTY2382444400CE”,
“last_price”: 354.0,
“volume”: 5095350,
“average_price”: 311.07,
“oi”: 1627260.0,
“net_change”: 207.5,
“total_buy_quantity”: 0.0,
“total_sell_quantity”: 0.0,
“lower_circuit_limit”: 0.05,
“upper_circuit_limit”: 1783.95,
“last_trade_time”: “1692849344000”,
“oi_day_high”: 1984830.0,
“oi_day_low”: 1627260.0
}
}
}

You can see total buy and sell quantity is 0, while in depth data is showing 5 buy and sell orders .

Your observation is right. The team is currently conducting an investigation, and a solution will be made available shortly.

We will inform you as soon as the fix has been implemented.

We’ve implemented the solution to address the issue. You should now be able to observe the figures for both total_buy_quantity and total_sell_quantity.

Feel free to reach out if you require any additional clarifications.