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

Glossary Item Box

Description

Returns the trade's matched/not matched status.

Property type

Read-only property

Syntax

Visual Basic
Public Property IsMatched As Boolean

Return Type

True if the trade is matched, False otherwise

Remarks

If this property value is True the trade is present in position's MatchedTrades collection and its GroupID is not 0.

If it is False, the trade is present in positions OpenTrades collection and its GroupID property is 0.

Example

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

See Also