public method IO2GOrderTableRow.getStop

Brief

Gets the price of the associated stop order (the loss limit level).

Declaration
C++
virtual double  getStop () = 0

Details

In case of FX instruments, the returned value is expressed in the instrument counter currency per one unit of the base currency.
In case of CFD instruments, the returned value is expressed in the instrument native currency per one contract.

It is applicable to opening orders (Entry or Market) only.
If there is no associated stop order, the method returns 0.0.
If the associated stop order is a pegged order, the method returns 0.0.

Note: In case of the accounts subject to the FIFO rule, the method returns 0.0.

Declared in IO2GOrderTableRow

back