It looks like you're new here. If you want to get involved, click one of these buttons!
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
buyQuantity & sellQuantity in Quote
Please confirm the behavior In Quote data for the field buyQuantity, as the following case: a person participates in 1 unit long & another person participates in 1 unit short,
Now the buyQuantity can be sum of both long & short positions, i.e shall be 1+1=2 .
Or the expected behavior can be 1 buyQuantity & 1 sellQuantity
The total buy quantity is the sum of all the buy pending order quantities at the exchange and total pending sell order quantity at the exchange.
bit confused, then what is sellQuantity? From above it seems you said buyQuantity = SUM(Pending Total Quantity + Pending Total Sell Quantity)
Also, how can i get the total executed buyQuantity of the day?
The total buy quantity is the sum of all the buy pending order quantities at the exchange and total sell quantity is sum of all the pending sell order quantity at the exchange.
A trade can only happen when there is someone buying and selling. So there is nothing called buyQuantity of the day.
There is only quantity of the day.
Also, how does MarketDepth buy quantity relates to buyQuantity?
Both are the same fields.