Volume shown by websocket smartAPI is not same as the sum of total buy quantity and total sell quantity
-
Hi,
I am using SmartAPIwebsocket to fetch the real-time price and volume-related information of stock. I have observed that I am getting the information about total but quantity (with key
'tbq'
, total sell quantity (with key'tsq'
) and volume information (with key'v'
). I think total volume buy + total volume sell must be equal to the total volume traded at that moment (i.e.'tbq' + 'tsq' = 'v'
) but I don't see that in the response. the total volume information (with key'v'
) is always greater than'tbq' + 'tsq'
. Is it correct?Let me know if I am making any wrong assumptions. Thanks.
-