This event is fired as a response to a tradable exchanges request either when the collection is resolved or when an error has occurred during the request processing.
Visual Basic |
---|
Public Event TradableExchangesResolved( _ ByVal gw_account_id As Long, _ ByVal cqg_exchanges As CQGExchanges, _ ByVal cqg_error As CQGError _ ) |
- gw_account_id
Gateway account ID, for which tradable exchange names were requested, represented as Long
- The gw_account_id that was passed to the corresponding RequestTradableExchanges call.
- 0 if nothing was passed.
- cqg_exchanges
Collection of the tradable exchages.
If an error has occurred, the collection will be empty.
- cqg_error
- CQGError object representing the error occurred while processing the tradable exchanges request.
If no error has occurred, the parameter value is either Nothing or invalid error object depending on the UsedFromATLClient setting of the configuration.
The parameter can be checked for validity via the CQGCEL.IsValid method.