public method IO2GOrderTableRow.getStopTrailRate

Brief

Gets the trailing rate of the associated trailing stop order or secondary entry stop order of an ELS order.

Declaration
C++
virtual double  getStopTrailRate () = 0

Details

The returned value represents the market price at the time the order automatically moves following the market fluctuations. If the order has not followed the market yet, the returned value represents the initial market price at the time when the order is placed.

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 trailing stop order, the method returns 0.0.

Declared in IO2GOrderTableRow

back