CQG API 4.0 - Revised
Instrument Property
See Also  Send Feedback
CQGOrder Interface : Instrument Property

Glossary Item Box

Description

Gets/sets the instrument of the order.

Property type

Read-write property

Syntax

Visual Basic
Public Property Instrument As CQGInstrument

Return Type

Order instrument represented as CQGInstrument object

Remarks

This property becomes read-only after the order is placed.

An order can be placed only on a subscribed instrument.

The property can be Nothing if the corresponding instrument is not subscribed to. To subscribe to an instrument use CQGCEL.NewInstrument.

Example

See the usage of CQGOrder properties in the OrderChanged event's example section.

See Also