class O2GSessionDescriptorCollection

Parents
java.lang.Iterable

Brief

A collection of the trading session descriptors.

Details

This class is used to keep information about trading sessions when more than one trading session is available (for O2GSessionStatusCode.TRADING_SESSION_REQUESTED). Please refer to this article for more information.
Use the O2GSession.getTradingSessionDescriptors method to get an instance of this class.

The namespace is com.fxcore2.

Public Methods

get

Gets a trading session descriptor by its index.

iterator

Iterator that allows an object to be the target of the "foreach" statement.

size

Gets the number of trading session descriptors.

back