CQG API 4.0 - Revised
SelectByTag Method
See Also  Send Feedback
tag_name

Order's tag name that will be used as the selection criteria, represented as String

tag_value

Value of the tag that will be used as the selection criteria, represented as Variant.

This parameter is optional.

CQGOrders Collection : SelectByTag Method

Glossary Item Box

Description

Returns a sub-collection of current orders collection, filtered by order tag (and its value if given).

Syntax

Visual Basic
Public Function SelectByTag( _
   ByVal tag_name As String, _
   Optional ByVal tag_value As Variant = "" _
) As CQGOrders

Parameters

tag_name

Order's tag name that will be used as the selection criteria, represented as String

tag_value

Value of the tag that will be used as the selection criteria, represented as Variant.

This parameter is optional.

Return Type

A CQGOrders collection consisting of orders with the same Tag that are picked from the current orders collection.

Example

See the usage of CQGOrders methods in the PrepareModify method's example section.

See Also