Thecqgfunction creates acqgobject, which represents a CQG®connection. After you create acqgobject, you can use the object functions to create orders and retrieve historical, real-time, and intraday tick data.
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 objectHandleand the API configuration type library specificationAPIConfig.
Display theHandleproperty ofc.
c.Handle
ans = COM.CQG_CQGCEL_4
After creating thecqgconnection object, you can retrieve historical, real-time, and intraday tick data. For details, seehistory,realtime, andtimeseries, respectively.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.