public method O2GTradingSettingsProvider.getMarketStatus

Brief

Checks whether the trading in the instrument is opened or not.

Declaration
Java
O2GMarketStatus  getMarketStatus (String instrument)

Parameters
instrument

The symbol of an instrument. For example, EUR/USD, USD/JPY, GBP/USD

Details

The possible return values are:

MARKET_STATUS_OPEN

The market for the instrument trading is opened.

MARKET_STATUS_CLOSED

The market for the instrument trading is closed.

Declared in O2GTradingSettingsProvider

back