CQG API 4.0 - Revised
eAccountChangeType Enumeration
See Also  Send Feedback

Glossary Item Box

Description

Specifies the type of account/position change passed to the AccountChanged event.

Members

MemberValueDescription
actAccountChanged1

An account-specific change occurred, e.g. date of last statement is changed.

After an event of this type, another AccountChange event of actPositionsReloaded type will be fired.

An event of this type is also fired for each account if the account subscription level is set from aslAccountsOnly to aslAccountsAndUpdates.

actAccountsReloaded0

All accounts are reloaded.

This change type is passed in two cases:

  • when the user logs on to CQG Gateway from CQGIC
  • when the user programmatically switches initial account subscription level to aslNone and then back.
actPositionAdded3A new position is created.

For example, due to trading new instruments.

actPositionChanged4A position-specific change occurred, e.g. position quantity or price is changed.

The number of fired events of this type depends on the FireEventOnChangedPrices configuration setting.

See the FireEventsOnChangedPrices configuration setting for possible options of controlling the flow of position changed events.

actPositionsReloaded2
  • All positions of an account are reloaded.

    There are many cases when this change type is passed. For example:

    • when we change position subscription level from pslNoPositions to any other value
    • when an account-specific change occurs for the current account
    • when CQG Gateway environment change occurs, etc.
actTradersReloaded5

Authorized traders of accounts are reloaded.