Returns the start index for the specified date.
Visual Basic |
---|
Public Function IndexForDate( _ ByVal date_ As Date _ ) As Long |
- date_
Specifies the date, in the user-configured time zone (CQGAPIConfig.TimeZoneCode)
If in this CQGTimedBars, there are CQGTimedBar objects having their Timestamps equal to date_, the first such record's index is returned.
Otherwise, the returned value will be invalid.