Starts an asynchronous query for timed bars timestamps.
Visual Basic |
---|
Public Function RequestBarsTimestamps( _ ByVal cqg_timestamps_request As CQGTimedBarsRequest _ ) As CQGBarsTimestamps |
- cqg_timestamps_request
Specifies the timed bars request object, which contains all parameters as properties, represented as CQGTimedBarsRequest.
Notes:
Values provided for properties that are not required are ignored.
If values are not provided for properties that are required, an exception will be thrown.
An exception will be thrown if an asynchronous request could not be made.
Otherwise, returns a CQGBarsTimestamps object, which doesn't contain any timed bars timestamps yet and status is rsInProgress.
The outcome of the query, as well as any errors, are reported via the BarsTimestampsResolved event, which is fired only once per query.