Refer to CQGCEL.InstrumentChanged Event.
Visual Basic |
---|
Public Event InstrumentChanged( _ ByVal cqg_instrument As CQGInstrument, _ ByVal cqg_quotes As CQGQuotes, _ ByVal cqg_instrument_properties As CQGInstrumentProperties _ ) |
- cqg_instrument
Name of updated instrument.
- cqg_quotes
Collection of changed quotes.
- If CQGAPIConfig.NewInstrumentChangeMode is set to True:
cqg_quotes contains prior values and current values must be obtained from CQGInstrument.Quotes; or explicitly using CQGInstrument.Trade, CQGInstrument.Bid, and CQGInstrument.Ask properties.
However, cqg_quotes must be used to determine, which values have changed. - If CQGAPIConfig.NewInstrumentChangeMode is set to False:
- cqg_quotes contains the current values.
- If CQGAPIConfig.NewInstrumentChangeMode is set to True:
- cqg_instrument_properties
Collection of changed dynamic properties.