public method O2GOrderTableRow.getStopTrailRate

Brief

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

Declaration
Java
double  getStopTrailStep ()

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 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.

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

Declared in O2GOrderTableRow

back