CQG API 4.0 - Revised
FireEventOnChangedPrices Property
See Also  Send Feedback
CQGAPIConfig Interface : FireEventOnChangedPrices Property

Glossary Item Box

Description

Controls the CQG API behavior regarding the firing of AccountChanged events on each price change.

The default value is False.

Property type

Read-write property

Syntax

Visual Basic
Public Property FireEventOnChangedPrices As Boolean

Return Type

True if events should be fired, False otherwise.

Remarks

Even if this property is set to True, the user will get the events only for those positions which instruments are subscribed and set to DataSubscriptionLevel higher than dsNone.

Note: setting this property to True is very verbose. Do not set it unless you really need it.

Example

See the usage of CQGAPIConfig properties in the AccountChanged event's example section.

See Also