public method TradingSettingsProviderAut.GetMarketStatus

Brief

Defines whether the trading on the instrument is allowed (whether the market is opened or closed).

Declaration
Visual Basic
Function GetMarketStatus (sInstrument as String) As Integer
IDL
[id(10)] HRESULT GetMarketStatus( [in]BSTR sInstrument, [out, retval] int* retVal)

Parameters
sInstrument

The name of the instrument to get Trading Setting for.

Returns

Returns Integer.

"0"

Trading is allowed. (Market is open)

"1"

Trading is not allowed. (Market is closed)

Details

The GetMarketStatus method is defined in the TradingSettingsProviderAut class.

back