public method IO2GMarketDataSnapshotResponseReader.getBid

Brief

Gets the bid price of a tick.

Declaration
C++
virtual double  getBid (int index) = 0

Parameters
index

The index of a tick in the reader. The index must be between 0 and size() - 1.

Details

In case of FX instruments, the returned value is expressed in the counter currency of an instrument per one base currency unit.
In case of CFD instruments, the returned value is expressed in the native currency of an instrument per one contract.

The method is applicable only if the returned value of the isBar method is false.

Declared in IO2GMarketDataSnapshotResponseReader

back