CQG API 4.0 - Revised
RequestTicks Method
See Also  Send Feedback
cqg_ticks_request

Specifies the ticks request, which contains all the parameters as properties.

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.

CQGCEL Interface : RequestTicks Method

Glossary Item Box

Description

Starts an asynchronous request for ticks.

Syntax

Visual Basic
Public Function RequestTicks( _
   ByVal cqg_ticks_request As CQGTicksRequest _
) As CQGTicks

Parameters

cqg_ticks_request

Specifies the ticks request, which contains all the parameters as properties.

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.

Remarks

An exception will be thrown if an asynchronous request could not be made.

Otherwise, returns CQGTicks object, which doesn't contain any ticks yet and which status is rsInProgress.

Notes:

It is a good practice to cancel the request as soon as it becomes unnecessary. Such approach allows using memory resources more optimal.

Call RemoveTicks for request cancelling.

Example

See Also