Specifies whether the InstrumentChanged event will work in old or new mode.
The default value is False.
Read-write property
Visual Basic |
---|
Public Property NewInstrumentChangeMode As Boolean |
True if the mode is new, False otherwise.
In old version of CQG API the collections that were passed to the InstrumentChanged event kept the new values of the changed quotes/properties. CQG API v.3.0 and higher behaves the same way if this property is set to False.
Starting from CQG API v.3.0 the collections can keep the old values in the argument collections. In order to use this approach user should set this property to True.
See the usage of NewInstrumentChangeMode property in the AccountChanged event's example section.