public method O2GSummaryTableRow.getAmount
Brief
Gets the amount of all positions (both long and short).
Declaration | ||||
|
Details
In the case of FX instruments, the returned value is expressed in the instrument base currency.
In the case of CFD instruments, the returned value is expressed in contracts.
If the amount of long positions exceeds the amount of short positions for the instrument traded, the method returns a positive value.
If the amount of short positions exceeds the amount of long positions for the instrument traded, the method returns a negative value.
Declared in O2GSummaryTableRow