public method IO2GSummaryTableRow.getBuyAmount

Brief

Gets the amount of long (buy) positions.

Declaration
C++
virtual double  getBuyAmount () = 0

Details

In case of FX instruments, the returned value is expressed in the base currency of the traded instrument.
In case of CFD instruments, the returned value is expressed in contracts.

If there are long positions for the traded instrument, the method returns a positive value. Otherwise, the method returns 0.0.

Declared in IO2GSummaryTableRow

back