Home


CQG API FAQ for Customers

The CQG API offers solutions for customers needing the most reliable data, powerful analytics, and ultra low-latency trading. Read through our FAQ for detailed information on accessing the CQG API.

 
1. Why would I want to use the CQG API?
With the CQG API, users are not limited to the analytics that CQG provides. They can develop their own, custom solutions without having to build a ticker plant for data access or create order routing access.
2. How can the CQG API be used?
The CQG API is geared toward customers interested in enhancing their own trusted set of trading tools with CQG's data feed and order routing services. It helps traders' powerful tools become even more effective:
  • Individual users: Access CQG market information and analytics or perform manual and auto trading.
  • Third-party software application providers: Feed market data into front-end applications through the API or build Web sites with real-time and delayed market data.
  • FCMs: Use the API to provide market data in middle- and back-office systems.
  • Hedge Funds and CTAs: Perform manual and auto trading or implement analytical support.
3. Why is the CQG API better?
With our Data API, you can…
  • Utilize real-time and historical market data as well as analytics.
  • Expose real-time and historical data to your customers.
  • Access reliable, accurate data from over one hundred sources.
  • Use our API for Excel modeling.
  • Connect to multiple asset classes with our API.
  • Experience speed – the CQG API adds only one millisecond for data round-trip.
  • Backtest through the CQG API.
  • Use our product for data collection including DOM data.
  • Take advantage of low start-up costs.
  • Download free API templates and samples.
With the CQG Trading API, you can…
  • Trade using one interface on more than twenty-five exchanges across multiple asset classes.
  • Trade across multiple accounts (not limited to one account or one broker).
  • Do your algorithmic trading through the CQG API.
  • Connect to CQG Hosted Exchange Gateways for direct market access and ultra low-latency trade routing.
  • Take advantage of our close proximity of our Hosted Exchange Gateways to the exchanges. Local exchange access means faster execution.
  • Use CQG Hosted Exchange Gateways, which have full-site redundancy, for more dependability and better load balancing for lower latency.
  • Download free CQG API templates and samples.
  • Reduce your overhead by using CQG Trading API.
4. What operating systems are supported?
The CQG API is based on Microsoft COM server technology. Only Microsoft XP, Vista, and Windows 7 are supported. When using a 64-bit OS, the application using the API must be compiled as a 32-bit application.
5. What languages can I program in?
Any language that supports COM automation technology may be used for development. Samples of how to use the API are provided for Microsoft Excel® VBA, Visual Basic, C#, C++, and MatLab.
6. What data can I subscribe to?
CQG Data API gives you access to real-time and historical data.

Real-time CQG Data API gives you access to:

  • Instrument reference metadata/contract specifications
  • Last trade and current best bid/offer data with volumes
  • Depth of market (DOM) data with volumes
  • Market data from real-time and delayed exchanges

Historical API gives you access to:
  • Comprehensive trade and best bid/offer tick data
  • Consolidated (aggregated) data in different types of bar configurations (i.e. regular timed, constant volume, point and figure, and TFlow® bars)
  • Last trade and current best bid/offer data with volumes
  • Embedded analytics: (both CQG-provided studies and any custom studies created with CQG Integrated Client)
7. How much historical data can I retrieve?
CQG offers multiple enablements to fit your data needs. The scope of data availability relative to the current date/time includes:

(Base) API Historical:

  • Intraday > 60 min, Daily, Weekly, Monthly, … : 300 Bars
  • Intraday <= 60 min : 3000 Bars
  • Tick data: two trading days
  • CVB, point and figure, and TFlow bars: the lesser of five trading days or 10,000 Bars

Extended API Historical:

  • Intraday > 60 min, Daily, Weekly, Monthly, … : 1,000 Bars
  • Intraday <= 60 min : 10,000 Bars
  • Tick data: two trading days
  • CVB, point and figure, and TFlow bars: the lesser of five trading days or 10,000 Bars

Extended API Historical Plus:

  • Intraday > 60 min, Daily, Weekly, Monthly, … : 4,000 Bars
  • Intraday <= 60 min : 40,000 Bars
  • Tick data: two trading days
  • CVB, point and figure, and TFlow bars: the lesser of five trading days or 10,000 Bars
8. Does CQG offer unlimited historical data via the CQG API?
Yes. CQG offers unlimited historical via the CQG API. Contact a sales representative for costs and usage limitations.
9. What if I need data beyond what our API offers?
You may purchase additional data from the CQG Data Factory on-line at www.cqgdatafactory.com
10. If I already subscribe to CQG IC, what are the CQG API costs?
  • Real-time API: $45/month
  • Historical API: $100/month
  • Extended Historical API: $300/month
  • Extended Historical Plus API: $1,000/month
  • API Trading (includes real-time data): $245/month up to 1,000 transactions per day.
The amounts quoted above will be converted to the local currency using the current currency rates.
11. You charge $200 per month for a daily limit of 1,000 transactions. What is considered a transaction?
A transaction is the placing of a new order, the modification of an existing order, or the cancellation of an existing order. If you exceed 1,000 transactions/day you will be charged $0.05 for each additional transaction placed on that day.
12. What analytics are available?
  • CQG-provided studies and functions
  • User-created custom studies and formulas
  • Synthetic instruments
  • Trade system values
Access to analytics requires the Historical API.
13. Do you have any sample files?
Yes, they can be found online at www.cqg.com/CQGAPI.
14. Are there any templates for analytics?
There are several templates available at: www.cqg.com/Products/CQG-API/API-Templates.aspx CQG will be creating additional templates as the need arises, so check back periodically.
15. What is the policy for the templates?
They are provided free of charge to CQG API customers.
16. Will CQG build black-box solutions for customers?
CQG will assist you with your programming effort, but CQG will not create custom software for you. . You may hire a qualified independent developer or visit the CQG API Partners Web page for third-party developer contact information and services.
17. Can I use the API to Trade?
Yes. CQG’s Trading API allows you to access CQG’s Hosted Exchange Gateways for order routing from external applications. The Trading API includes Real-time Data. CQG’s Trading API can be used for:
  • Trading Execution (manual and automatic)
  • Trade Monitoring
18. Once I have my analysis completed, may I distribute my analysis?
No, not real-time, streaming results. This product is for individual trader use only.
19. Does the CQG API work with Studies and Formulas?
Yes, the CQG API works with studies and formulas in CQGIC versions 7.5 and higher.
20. How many traders can use the API at one time?
The Data API is available as part of our flagship product, the CQG Integrated Client and is designed to be used in a one-to-one relationship, meaning one CQG terminal for one trader.
21. How many instruments can I subscribe to at one time?
There is no absolute limit to the number of instruments. However, any real-time performance is dependent upon the machine running the CQG Client and the application using the CQG API, the language you use to develop your application, the type of subscription as well as the nature of the instruments that you subscribe. It is important to remember that during active market periods, quote rates can be many 10,000s per second.
22. Will I see an increase on the workstation requirements in support of the CQG API (CPU, Processor, etc.)?
A more powerful computer will allow customers to receive and process more data.
23. How do I get CQG API support or answers to questions?
Question about API usage should be submitted by email to apisupt@cqg.com. If a question is in regard to a specific problem, attaching a project which demonstrates the will expedite resolution.

Support staff can also be reached via CQG’s customer support numbers at www.cqg.com.

API Article
API Flyer
API Technical Docs
CQG API
CQG Trader API
Markets Covered
Trading Platforms

 

Copyright © CQG, Inc. All rights reserved.

CQG, Inc. has registered CQG®,  DOMTrader®, SnapTrader®, TFOBV®, TFOBVO®, and TFVOL®.
TradeFlow™ and TFlow™ are trademarks of CQG, Inc.