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