public method O2GOrderTableRow.getTrailRate

Brief

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

Declaration
Java
double  getTrailRate ()

Details

In the case of FX instruments, the returned value is expressed in the instrument counter currency per one unit of the base currency.
In the 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 reflects the initial market price at the time of the order placement.

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

Declared in O2GOrderRow

back