public method O2GOrderTableRow.getLimit

Brief

Gets the price of an associated limit order (the profit limit level).

Declaration
Java
double  getLimit ()

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.

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

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

Declared in O2GOrderTableRow

back