Returns the trade's side.
Read-only property
Visual Basic |
---|
Public Property Side As eOrderSide |
The trade's side represented as eOrderSide.
Depending on UseOrderSide setting of CQG API Configuration the side can be undefined.
If UseOrderSide is set to True, the property value is osdBuy in case of buy trade and osdSell in case of a sell.
If UseOrderSide is set to False, the property value is osdUndefined and the side is reflected by trade's quantity.
See the usage of CQGTrade properties in the AccountChanged event's example section.