CQG
通过 CQG® 访问市场数据和提交订单
有关使用 CQG 创建订单的简单示例,请参阅Create Order Using CQG。有关在工作流中使用 CQG 函数的大致概述,请参阅 Workflow for CQG。
函数
cqg | Create CQG connection object |
startUp | Create CQG connection |
createOrder | Create CQG order |
history | Request CQG historical data |
realtime | Subscribe to CQG instrument |
timeseries | Request CQG intraday tick data |
shutDown | Close CQG connection |
close | Close CQG connection |
主题
- 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.