public method O2GOrderTableRow.getRate

Brief

Gets the price the order is placed at.

Declaration
Java
double  getRate ()

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.

In the case of open/close market orders and pegged stop/limit orders, the method returns 0.0.

Declared in O2GOrderRow

back