CQG API 4.0 - Revised
eDOMUpdatesMode Enumeration
See Also  Send Feedback

Glossary Item Box

Description

Represents possible modes of DOM data updates.

All modes depend on the value of the update period, which is set from configuration.

Members

MemberValueDescription
domUMDynamic0

Dynamic update mode.

In this mode a DOM update is sent only if DOM changes after time period expiration.

domUMSnapshot1

Snapshot update mode.

In this mode when the time period expires the current (last before time expiration) DOM book is sent as an update.

Remarks

In case the dynamic mode is set, DOM updates will be sent not earlier than the time period given in the CQGAPIConfig.DOMUpdatesPeriod property.

In case of the snapshot mode, DOM updates will be sent with period equal to the time period given in the CQGAPIConfig.DOMUpdatesPeriod property.

If there are no DOM updates during the time period, no DOM updates will be sent in either mode.

If the time period is set to 0 both modes behave the same way - updates will be sent on each DOM change.

See Also