CQG API 4.0 - Revised
RangeStart Property
See Also  Send Feedback
CQGInstrumentsGroupRequest Interface : RangeStart Property

Glossary Item Box

Description

Gets/sets the range start, which will be used to formulate the request for a group of instruments.

Property type

Read-write property

Syntax

Visual Basic
Public Property RangeStart As Variant

Return Type

Range start, represented as Variant

Remarks

RangeStart and RangeEnd specify the underlying instruments month range, for which data is requested.

Only Date and integer are allowed for types of RangeStart/RangeEnd properties:

  • Date values specify the range of contract months starting from the current active instrument month. Values represent date/time in the user-configured time zone (CQGAPIConfig.TimeZoneCode).
    RangeStart must be greater than 0 and RangeEnd must indicate a later date.
  • Integer values specify the range of contract numbers starting from the current active instrument.
    RangeStart must be greater than 0 and RangeEnd must be greater or equal to RangeStart.
  • RangeStart and RangeEnd must be of the same type.
  • If no range (i.e., RangeStart and RangeEnd) is specified, all corresponding instruments will be returned.

See Also