CQG API 4.0 - Revised
InstrumentSubscribed Event
See Also  Send Feedback
symbol_
the commodity symbol that was requested by user in NewInstrument method
cqg_instrument

resolved CQGInstrument object

CQGCEL Interface : InstrumentSubscribed Event

Glossary Item Box

Description

This event is fired when a new instrument is resolved and subscribed.

Deprecated. Use InstrumentResolved instead.

Syntax

Visual Basic
Public Event InstrumentSubscribed( _
   ByVal symbol_ As String, _
   ByVal cqg_instrument As CQGInstrument _
)

Parameters

symbol_
the commodity symbol that was requested by user in NewInstrument method
cqg_instrument

resolved CQGInstrument object

Remarks

InstrumentSubscribed is also fired if a duplicate resolution is attempted. In that case the Instrument parameter returns the same object as it returned the first time.

Example


The example shows how to access CQGInstrument properties immediately after it is subscribed.

VB
C#
 
 

See Also