The Web API provides access to real-time and historical market data and CQG’s trading gateway through websocket technology.
A websocket connection allows asynchronous, duplex communication between your web client application and CQG’s web server application, so end users are connected directly to CQG servers through your application. Like HTTP, websocket communication occurs through a particular IP and port.
The data exchanged in the communication between the client and server uses Google’s protocol buffer (protobuf) format.
Intended as a developer tool for platform applications, the benefits of this API are attracting enterprise users and partners. In addition to the benefits inherent in websocket and protobuf technology, Web API offers a cross-platform, cross-language solution with the flexibility to accommodate data, trading, or integrated data and trading, It’s ease-of-use results in less development time, so that your API is up and running quickly.
CQG’s own mobile platform, CQG M, is powered by Web API.
As we work on expanding Web API resources to create a comprehensive specification, you can access existing resources through these links:
•Description of API, workflow, and technology (website)
•CQG Web API Server Protocol (website)
•Samples (website)
•Web API Conformance Test (help pages)
End User Enablements
FCMs control product and features enablements and market data services using CAST.
End users of your client application must be enabled for Web API.
To access historical data, end users must be enabled for it.
End User Login
End users log on to the server using their CQG gateway login credentials.
They can log on to only one web client application at a time. You decide whether the first connection is disconnected or the second connection is rejected when end users attempt to log on to multiple clients.
The CQG gateway also limits the number of successful logons during a specific time interval. The current limit is 200 logons per day. If the limit is breached, subsequent logon attempts are rejected. This limit may be changed without prior notice.
Web API Development Questions & Support
Should you need assistance, send all correspondence to apihelp@cqg.com.