CQG API 4.0 - Revised
RequestTradableExchanges Method
See Also  Send Feedback
gw_account_id

Gateway account ID, for which tradable exchanges are requested, represented as Long.

If the gw_account_id is not specified or it is zero, all tradable exchanges for all gateway accounts the current trader is assigned to, will be requested.

Otherwise, only exchanges that are allowed to be traded by the active gateway account with gw_account_id , will be requested.

For more details on account identifiers, see CQGAccount.GWAccountID.

CQGCEL Interface : RequestTradableExchanges Method

Glossary Item Box

Description

Starts an asynchronous query for tradable exchanges.

Syntax

Visual Basic
Public Sub RequestTradableExchanges( _
   Optional ByVal gw_account_id As Long = 0 _
) 

Parameters

gw_account_id

Gateway account ID, for which tradable exchanges are requested, represented as Long.

If the gw_account_id is not specified or it is zero, all tradable exchanges for all gateway accounts the current trader is assigned to, will be requested.

Otherwise, only exchanges that are allowed to be traded by the active gateway account with gw_account_id , will be requested.

For more details on account identifiers, see CQGAccount.GWAccountID.

Remarks

Requires the user to be logged on to the CQG gateway.

The outcome of the request, as well as any errors, are reported via TradableExchangesResolved event, which is fired only once per request.

See Also