CQG API 4.0 - Revised
DataConnectionStatusChanged Event
See Also  Send Feedback
new_status

Indicates connection status.

CQGCEL Interface : DataConnectionStatusChanged Event

Glossary Item Box

Description

This event is fired when some changes occurred in the connection with the CQG data server.

Syntax

Visual Basic
Public Event DataConnectionStatusChanged( _
   ByVal new_status As eConnectionStatus _
)

Parameters

new_status
ValueDescription
csConnectionDelayedConnection is delayed.
csConnectionDownConnection is down.
csConnectionNotLoggedOnConnected but not logged on Gateway.
csConnectionTroubleTrouble with Gateway connection.
csConnectionUpConnection is up.

Indicates connection status.

Remarks

If the connection status is down no instrument updates will be fired by CQGCEL.

Example

See implementation of CQGCEL event handlers in CQGCEL Example.

See Also