主要内容

CQG

R2026b
通过 CQG® 访问市场数据和提交订单

有关使用 CQG 创建订单的简单示例,请参阅Create Order Using CQG。有关在工作流中使用 CQG 函数的大致概述,请参阅 Workflow for CQG。

函数

cqg创建 CQG 连接对象
startUp创建 CQG 连接
createOrderCreate CQG order
historyRequest CQG historical data
realtimeSubscribe to CQG instrument
timeseriesRequest CQG intraday tick data
shutDown关闭 CQG 连接
close关闭 CQG 连接

主题

  • Workflow for CQG

    Retrieve current, intraday, or historical data and submit orders.

  • Create CQG Orders

    This example shows how to connect to CQG, define the event handlers, subscribe to the security, define the account handle, and submit orders for execution.

  • Request CQG Historical Data

    This example shows how to connect to CQG, define event handlers, and request historical data.

  • Request CQG Intraday Tick Data

    This example shows how to connect to CQG, define event handlers, and request intraday and timed bar data.

  • Request CQG Real-Time Data

    This example shows how to connect to CQG, define event handlers, and request current data.