Gets/sets the range start, which will be used to formulate the request for a group of instruments.
Read-write property
Visual Basic |
---|
Public Property RangeStart As Variant |
Range start, represented as Variant
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.