CQG API 4.0 - Revised
RequestInstrumentsGroup Method
See Also  Send Feedback
group_request

The requested instruments group object; represented as CQGInstrumentsGroupRequest.

Use CQGCEL.CreateInstrumentsGroupRequest Method to create request object.

trace_group_changes

If the value is True:

CQGCEL Interface : RequestInstrumentsGroup Method

Glossary Item Box

Description

Requests a group of instruments.

Syntax

Visual Basic
Public Sub RequestInstrumentsGroup( _
   ByVal group_request As CQGInstrumentsGroupRequest, _
   ByVal trace_group_changes As Boolean _
) 

Parameters

group_request

The requested instruments group object; represented as CQGInstrumentsGroupRequest.

Use CQGCEL.CreateInstrumentsGroupRequest Method to create request object.

trace_group_changes

If the value is True:

Remarks

This request is asynchronous. The execution result is reported via CQGCEL.InstrumentsGroupResolved event.

The request result is represented by the CQGInstrumentsGroup object. It is possible to access all resolved instrument groups via CQGCEL.AllInstrumentsGroups Property.

It is a good practice to cancel the request as soon as it becomes unnecessary. Such an approach allows using memory resources more optimal.

Use RemoveInstrumentsGroup to cancel request and remove resolved CQGInstrumentsGroup.

See Also