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

Glossary Item Box

Description

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

Property type

Read-write property

Syntax

Visual Basic
Public Property RangeEnd As Variant

Return Type

Range end, 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 is specified, all corresponding instruments will be returned.

See Also