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

Glossary Item Box

Description

Represents a collection of CQGTrade objects.

Object Model

CQGTrades CollectionCQGTrade Interface

 

Remarks

There are two instances of CQGTrades collection used in CQG API CQGPosition objects: one for open trades, one for matched trades.

Access to an item in this collection can be made by its index. The index is 0 based, i.e. the index of the first item in the collection is 0.

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

Example

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

Example

See Also