CQG API 4.0 - Revised
RequestCustomSessions Method
See Also  Send Feedback
CQGCEL Interface : RequestCustomSessions Method

Glossary Item Box

Description

Starts an asynchronous query for all custom sessions available in CQGIC.

Syntax

Visual Basic
Public Sub RequestCustomSessions() 

Remarks

The outcome of the request, as well as any errors, are reported via CustomSessionsResolved event, which is fired only once per request.

Note:

To view/modify a custom session's settings in CQGIC:

  • Open a chart.
  • Right-click on the main title bar and select Show Menu.
  • From the menu select ChartSetup > Chart Preferences...
  • In the Sessions tab select the required custom session from the dropdown menu.

Example

See the usage of RequestCustomSessions method in the CustomSessionsResolved event's example section.

See Also