CQG API 4.0 - Revised
Quantity Property
See Also  Send Feedback
leg_
The leg to get data for
CQGFill Interface : Quantity Property

Glossary Item Box

Description

Returns the filled quantity of the leg.

Property type

Read-only property

Syntax

Visual Basic
Public Property Quantity( _
   Optional ByVal leg_ As Long = 0 _
) As Long

Parameters

leg_
The leg to get data for

Return Type

Quantity represented as Long.

The quantity will be signed if UseOrderSide setting of CQG API Configuration is set to False.

Remarks

This property is valid for legs and for the whole CQGFill as well.

Example

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

See Also