public method IO2GOrderTableRow.getRate

Brief

Gets the price the order is placed at.

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

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

Declared in IO2GOrderRow

back