public method IO2GMarketDataSnapshotResponseReader.getAsk

Brief

Gets the ask price of a tick.

Declaration
C++
virtual double  getAsk (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