CQG API 4.0 - Revised
CQGPositions Collection
See Also  Members  Send Feedback

Glossary Item Box

Description

Represents a collection of CQGPosition objects.

Object Model

CQGPositions CollectionCQGPosition Interface

 

Remarks

In this collection CQGPosition objects are gathered, each representing the account's position that was open during the current trading session. Even if a position is currently liquidated, its object remains in the collection until the end of current trading day.

Access to an item in this collection can be made based on the instrument full name.

See Accessing non-existent collection items for details on accessing items that do not exist in the collection.

Example

See the usage of CQGPositions collections in the AccountChanged event's example section.

Example

See Also