Sets/gets the range start, which will be used to formulate the expression request (required).
Read-write property
Visual Basic |
---|
Public Property RangeStart As Variant |
Range start, represented as Variant
Only Date and integer are allowed for types of RangeStart/RangeEnd properties:
- All combinations of Date and Integer can apply for these properties, except Integer/Date.
- If type is Date, RangeStart represents 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.
- If type is Integer, RangeStart represents the current condition's result number (0 is the current condition result number, negative numbers represent condition results in the past, positive numbers - in the future).
- If the type of RangeStart is integer, it shall be 0 (denoting "current").
If you would like to request data from specific time in the past to current time with updates, then check out the following link.