Starts an asynchronous query for tradable exchanges.
Visual Basic |
---|
Public Sub RequestTradableExchanges( _ Optional ByVal gw_account_id As Long = 0 _ ) |
- 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.
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.