For a simple example about order creation using CQG, seeCreate an Order Using CQG。对强的高级概述g CQG functions in a workflow, seeWorkflow for CQG。
cqg |
CreateCQGconnection object |
startUp |
CreateCQGconnection |
createOrder |
CreateCQGorder |
history |
RequestCQGhistorical data |
realtime |
Subscribe toCQGinstrument |
timeseries |
RequestCQGintraday tick data |
shutDown |
CloseCQGconnection |
close |
CloseCQGconnection |
Retrieve current, intraday, or historical data and submit 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.
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.
This example shows how to connect to CQG, define event handlers, and request current data.