cqg

Create CQG connection object

Syntax

Description

example

c = cqg creates a CQG® connection object c.

Examples

expand all

Create the CQG Connection Object

Create the CQG connection object using cqg.

c = cqg
c = 

  cqg with properties:

       Handle: [1x1 COM.CQG_CQGCEL_4]
    APIConfig: [1x1 Interface.CQG_4.0_Type_Library_-_Revised_API.ICQGAPIConfig]

CQG connection object properties reflect the CQG ActiveX® object Handle and the API configuration type library specification APIConfig.

Display the Handle property of c.

c.Handle
ans =
 
    COM.CQG_CQGCEL_4

Close the CQG connection.

close(c)

Output Arguments

expand all

c — CQG connectionconnection object

CQG connection, returned as a CQG connection object. The properties of this object are as follows:

Property

Description

Handle

CQG ActiveX object

APIConfig

API configuration type library specification

These properties are determined by the CQG API.

See Also

|

Was this topic helpful?