public method IO2GOrderTableRow.getTrailRate

Brief

Gets the market price at the time the order automatically moves following the market fluctuations.

Declaration
C++
virtual double  getTrailRate () = 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.

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.

It is applicable to trailing orders (trailing stop, entry trailing stop/limit) only. Otherwise, the method returns 0.0.

Declared in IO2GOrderRow

back