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

Glossary Item Box

Description

Sets/gets the range end, which will be used to formulate the expression request (required).

Property type

Read-write property

Syntax

Visual Basic
Public Property RangeEnd As Variant

Return Type

Range end, represented as Variant

Remarks

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

  • If the type is Date, RangeStart/RangeEnd represent date/time in the user-configured time zone (CQGAPIConfig.TimeZoneCode). Non-timed bar requests process date/time range values with a precision of up to minutes.
  • All combinations of Date and integer can apply for these properties, except integer/Date.
  • If RangeEnd type is integer, then it represents the count of records prior to RangeStart to be requested, so it must be a negative value.
  • If RangeEnd is date, it must be further in time than RangeStart.

If you would like to request data from specific time in the past to current time with updates, then check out the following link.

See Also