Returns the trade's quantity.
Read-only property
Visual Basic |
---|
Public Property Quantity As Long |
The quantity represented as Long.
Depending on UseOrderSide setting of CQG API Configuration the quantity can be signed or unsigned.
If UseOrderSide is set to True, the quantity is always positive and the side is shown by the trade's Side property.
If UseOrderSide is set to False, the quantity is:
- positive in case of a buy trade
- negative in case of a sell trade.
See the usage of CQGTrade properties in the AccountChanged event's example section.