public method IO2GMarketDataSnapshotResponseReader.isBar

Brief

Checks whether the historical prices in the response are represented as bars or ticks.

Declaration
C++
virtual bool  isBar () = 0

Details

The possible return values are as follows:

true

The historical prices in the response are represented as bars. Use the getBidOpen, the getBidHigh, the getBidLow, and the getBidClose methods to get historical open, high, low, and close bid prices, respectively. Use the getAskOpen, the getAskHigh, the getAskLow, and the getAskClose methods to get historical open, high, low, and close ask prices, respectively.

false

The historical prices in the response are represented as ticks. Use the getBid and the getAsk methods to get historical bid and ask prices, respectively,

Declared in IO2GMarketDataSnapshotResponseReader

back