Creates a new CQGTimedBarsRequest object.
Visual Basic |
---|
Public Function CreateTimedBarsRequest() As CQGTimedBarsRequest |
The CQGTimedBarsRequest.Symbol, CQGTimedBarsRequest.RangeStart, and CQGTimedBarsRequest.RangeEnd properties do not have default values and must be provided before passing the CQGTimedBarsRequest object to the CQGCEL.RequestTimedBars method.
In addition, either the CQGTimedBarsRequest.IntradayPeriod or the CQGTimedBarsRequest.HistoricalPeriod must be provided too.