CQG API 4.0 - Revised
SessionsFilter Property
See Also  Send Feedback
CQGTradingSystemRequest Interface : SessionsFilter Property

Glossary Item Box

Description

Sets/gets the sessions filter, which will be used to formulate this trading system request.

The default value for this property is 0.

Property type

Read-write property

Syntax

Visual Basic
Public Property SessionsFilter As Variant

Return Type

Sessions filter, represented as Variant

Remarks

Only String and integer are considered for SessionsFilter type.

  • If type is integer, SessionsFilter represents session number.
    Special values: 0 represents primary sessions only, 31 represents all sessions.
  • If type is String, SessionsFilter represents custom session name.
    Special values: "primaryOnly" and "all" are equivalent to 0 and 31, respectively.
  • If other types are used for SessionsFilter, SessionsFilter is ignored.

See Also