CQG API 4.0 - Revised
APIConfiguration Property
See Also  Send Feedback
CQGCEL Interface : APIConfiguration Property

Glossary Item Box

Description

Controls the CQG API current configuration.

Property type

Read-only property

Syntax

Visual Basic
Public Property APIConfiguration As CQGAPIConfig

Return Type

Current configuration of CQG API represented as CQGAPIConfig.

Remarks

Configuration settings can be changed only when CQGCEL is not started.

If the configuration is to be changed during CQGCEL's work, first call the Shutdown Method, make your changes and then call the Startup Method.

This property is added as a replacement for Configuration property, which is still preserved for backward compatibility.

However in new applications it is advised to use this property, because new features are added only here.

Example

See the usage of APIConfiguration property in the AccountChanged event's example section.

See Also