public method IO2GMarketDataSnapshotResponseReader.getAskClose

Brief

Gets the close price of an ask bar.

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

Parameters
index

The index of a bar 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 true.

Declared in IO2GMarketDataSnapshotResponseReader

back