public method O2GOrderTableRow.getNetQuantity
Brief
Gets the Net Amount order flag.
Declaration | ||||
|
Details
The returned value defines whether the order is a Net Amount order or not.
The possible return values are:
|
The order is a Net Amount order. |
|
The order is not a Net Amount order. |
The Net Amount order closes all the positions of a specified instrument and account that are in the direction (buy or sell) opposite to the direction of the Net Amount order.
The following types of orders can be Net Amount orders:
SE
- entry stop.
LE
- entry limit.
STE
- trailing entry stop.
LTE
- trailing entry limit.
CM
- close market.
Declared in O2GOrderRow