public method IO2GOrderTableRow.getLimit

Brief

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

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

It is applicable to opening orders (Entry or Market) only.
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 case of the accounts subject to the FIFO rule, the method returns 0.0.

Declared in IO2GOrderTableRow

back