CQG API 4.0 - Revised
GroupID Property
See Also  Send Feedback
CQGTrade Interface : GroupID Property

Glossary Item Box

Description

Returns the group identifier of the current trade, if any.

Property type

Read-only property

Syntax

Visual Basic
Public Property GroupID As Long

Return Type

Group identifier represented as Long

Remarks

Trades are divided in groups by matching, i.e. all trades matched with each other have the same GroupID.

If the trade is open (i.e. not matched) its GroupID is 0.

Example

See the usage of CQGTrade properties in the AccountChanged event's example section.

See Also