public method IO2GRequestFactory.getTimeFrameCollection

Brief

Returns the collection of time frames which can be used for the market data snapshot request.

Declaration
C++
virtual IO2GTimeframeCollection getTimeFrameCollection () = 0

Details

getTimeFrameCollection could be a first step to get historic prices before createMarketDataSnapshotRequestInstrument.
The returned object must be released using the release method when it is not used anymore.

getTimeFrameCollection [hide]

 IO2GRequestFactory *factory = session->getRequestFactory();
 IO2GTimeframeCollection *timeframe_collection = factory->getTimeFrameCollection();
 //...
 timeframe_collection->release();
 factory->release();

Declared in IO2GRequestFactory

back