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

Glossary Item Box

Description

Gets/sets the range end, which will be used to formulate the ticks request (required).

Property type

Read-write property

Syntax

Visual Basic
Public Property RangeEnd As Date

Return Type

Range end, represented as Date

Remarks

RangeStart and RangeEnd specify the time range, for which data is requested, in the user-configured time zone (CQGAPIConfig.TimeZoneCode).

  • If Type is trtTimeRange, both RangeStart and RangeEnd must be provided, RangeEnd must be earlier than the current time and RangeStart must be earlier or equal RangeEnd.
  • If Type is trtSinceTime or trtSinceTimeNotify, RangeStart must be provided and it must be earlier than the current time.
  • If Type is trtCurrentNotify, neither RangeStart nor Range end needs to be provided.

See Also