CQG API 4.0 - Revised
DataSubscriptionLevel Property
See Also  Send Feedback
CQGInstrument Interface : DataSubscriptionLevel Property

Glossary Item Box

Description

Indicates data subscription level.

Property type

Read-write property

Syntax

Visual Basic
Public Property DataSubscriptionLevel As eDataSubscriptionLevel

Return Type

Current subscription level represented as eDataSubscriptionLevel

Remarks

Data subscription level is a way to control the update events received by the user on current instrument. User can choose between not receiving any events, receiving data on trade changes and receiving trade, ask and bid changes.

When not receiving events option is chosen the actual instrument is not removed from the instruments collection of CQGCEL object and the user can change the update mode any time.

The default value of data subscription level can be set from configuration. By default it is dsQuotesAndBBA.

Example

See the usage of CQGInstrument properties in the InstrumentSubscribed event's example section.

See Also