CQG API 4.0 - Revised
TradableCommoditiesResolved Event
See Also  Send Feedback
gw_account_id

Gateway account ID, for which tradable commodity names were requested, represented as Long

  • The gw_account_id that was passed to the corresponding RequestTradableCommodities call.
  • 0 if nothing was passed.
  • cqg_commodities

    Collection of the tradable commodities.

    If an error has occurred, the collection will be empty.

    cqg_error
    CQGError object representing the error occurred while processing the tradable commodities 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.

    CQGCEL Interface : TradableCommoditiesResolved Event

    Glossary Item Box

    Description

    This event is fired as a response to a tradable commodities request either when the collection is resolved or when an error has occurred during the request processing.

    Syntax

    Visual Basic
    Public Event TradableCommoditiesResolved( _
       ByVal gw_account_id As Long, _
       ByVal cqg_commodities As CQGCommodities, _
       ByVal cqg_error As CQGError _
    )

    Parameters

    gw_account_id

    Gateway account ID, for which tradable commodity names were requested, represented as Long

  • The gw_account_id that was passed to the corresponding RequestTradableCommodities call.
  • 0 if nothing was passed.
  • cqg_commodities

    Collection of the tradable commodities.

    If an error has occurred, the collection will be empty.

    cqg_error
    CQGError object representing the error occurred while processing the tradable commodities 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.

    Example

    The examples below show how to request tradable commodities via CQG API.

    VB
    CS
     
     

    See Also