CQG API 4.0 - Revised
LineTimeChanged Event
See Also  Send Feedback
new_line_time
date containing the line time (time on the current exchange) converted to the timezone previously set by the user
CQGCEL Interface : LineTimeChanged Event

Glossary Item Box

Description

This event is fired once every second to synchronize with the exchange.

Syntax

Visual Basic
Public Event LineTimeChanged( _
   ByVal new_line_time As Date _
)

Parameters

new_line_time
date containing the line time (time on the current exchange) converted to the timezone previously set by the user

Remarks

Line time is converted to the user timezone set in TimeZoneCode property. If no timezone is set by the user, the time is converted to UTC.

Example

The example demonstrates how to handle the LineTimeChanged event and how to use CQGEnvironment object. The example assumes, that CQG API is instantiated, started, and some instruments are created.

VB
C#
 
 

See Also