CQG API 4.0 - Revised
RequestConstantVolumeBars Method
See Also  Send Feedback
cqg_constant_volume_bars_request

Specifies constant volume bars request, which contains all 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 : RequestConstantVolumeBars Method

Glossary Item Box

Description

Starts an asynchronous request for constant volume bars.

Syntax

Visual Basic
Public Function RequestConstantVolumeBars( _
   ByVal cqg_constant_volume_bars_request As CQGConstantVolumeBarsRequest _
) As CQGConstantVolumeBars

Parameters

cqg_constant_volume_bars_request

Specifies constant volume bars request, which contains all 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 asynchronous request could not be made.

Otherwise, returns a CQGConstantVolumeBars object which doesn't contain any CVBs yet and 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 RemoveConstantVolumeBars for request cancelling.

See Also