static public field O2GResponseType.MarketDataSnapshot
Brief
The constant represents the type of a response to a request for historical prices information.
Details
Historical prices are requested by calling the O2GSession.sendRequest method.
For example,
mSession.sendRequest(request);
The request
argument is an instance of the O2GRequest class that must be created by using the
O2GRequestFactory
.createMarketDataSnapshotRequestInstrument
method
and filled by using the O2GRequestFactory
.fillMarketDataSnapshotRequestTime
method.
The response to this request is of the MarketDataSnapshot
type. An instance of the
O2GResponse
class is the response
parameter in your implementation of the
IO2GResponseListener
.onRequestCompleted
method.
To process the contents of a response object of the MarketDataSnapshot
type, use an instance of the O2GMarketDataSnapshotResponseReader class.
For complete details on requesting historical prices, refer to the How to get historic prices section.
Declared in O2GResponseType