CQG Broker Profile

From MultiCharts
Jump to navigation Jump to search

To connect MultiCharts to CQG/AMP account, it is necessary to have CQG API installed on the computer. Also, please make sure that your PC meets CQG requirements and technical specifications http://www.cqg.com/Docs/CQGTraderSystemSpecs.pdf

At the moment it is not possible to use multiple CQG accounts in MultiCharts. Only one and the same account should be used for getting data and trading. If different logins and passwords are entered in data source configuration and CQG broker profile, connection to data source will work, the broker profile will not.

Open position Profit/Loss is provided through CQG API.

Unrealized Profit/Loss for the account is provided through CQG API.

If MultiCharts sends a stop order with the price equal to current market price or better (guaranteed to be executed) it will be rejected by the broker. Therefore, MultiCharts converts such stop orders into market orders.

Note: If a stop order is adjusted manually or by your script to the price equal to current market price or better (guaranteed to be executed), the order won’t be converted into market order. It will be rolled back.

Stop-Limit orders: if at the moment an order is sent its stop level is met, then it will be converted into market order.

Stop-Limit orders with stop and limit levels not overlapping each other are rejected by the broker.

When an orders is sent from MultiCharts to CQG broker to be executed on an expired contract, the broker will automatically redirect the order to the same symbol, but currently active contract.

CQG does not support Native One-Cancels-Others group. In this case MultiCharts emulates OCO group on its end. Simulated OCO-group means that all OCO orders are sent to the broker, price is monitored by MultiCharts and once one of the orders is filled, other orders from this OCO group are cancelled by MultiCharts. When one of the OCO orders is filled, MultiCharts sends a command to cancel the second OCO order to broker. Note that the second order may also be filled if price reaches its level before the cancellation is processed by the broker (see OCO-Orders Risk).

AMP Futures Accounts

If you are an owner of AMP Futures broker account, you can connect to CQG data feed. Both real-time and historical data is available. To connect CQG data feed in MultiCharts:

If there are any CQG applications installed on your PC, it is required to delete them prior to installing the supported version of CQG API:

  1. Windows Start menu
  2. Control Panel
  3. Uninstall a program / Programs and Features
  4. Select each of the following applications and uninstall all of them:
    • CQG Trader
    • CQG Auto Upgrade Service
    • CQG Trader API
    • CQGNet
    • MultiCharts API (with CQG icon)

For MultiCharts 8.8 Release and newer versions you need to install the following version of CQG API: https://dl.dropboxusercontent.com/u/27918922/Multicharts_COMAPI_en-US_production_V6.00.104_Install.msi

If you are using MultiCharts 8.0 Release or any previous version, install the following version of CQG API: https://dl.dropboxusercontent.com/u/95112551/Multicharts_COMAPI_en-US_production_V4.04.542_Install.msi

AMP accounts originally created for a different software will not work in MultiCharts. Customers need to contact AMP directly to setup their accounts for MultiCharts or request a demo account here: http://www.ampclearing.com/multicharts.html

Any Other Broker Accounts

If you are an owner of a broker account working through CQG API (not AMP Futures), starting with MultiCharts 8.8 beta 1 you can connect to CQG data feed. Only real-time data is available. To connect CQG data feed in MultiCharts:

If there are any CQG applications installed on your PC, it is required to delete them prior to installing the supported version of CQG API:

  1. Windows Start menu
  2. Control Panel
  3. Uninstall a program / Programs and Features
  4. Select each of the following applications and uninstall all of them:
    • CQG Trader
    • CQG Auto Upgrade Service
    • CQG Trader API
    • CQGNet
    • MultiCharts API (with CQG icon)
  5. Install the following version of CQG API: https://dl.dropboxusercontent.com/u/95112551/Multicharts_COMAPI_en-US_production_V4.05.101_Install.msi

Setting up CQG Broker Profile

In the Properties CQG window (see Managing Broker Profiles) enter the information provided by CQG:

  1. Authority section.
    Enter Login and Password.
    Note:By default demo mode is NOT turned on. Check the CQG demo box to turn it on. Demo mode is required to be on for demo accounts. If you have real account, the box is required to be off
  2. Reconnection Settings section.
    Configure timer to reconnect if connection to CQG is lost.
    Note: It is recommended to launch MultiCharts by making a right-click on the icon -> Run as administrator. A popup dialogue message will appear where you need to allow CQG API to connect to the Internet (That should be done upon first connection after API installation. You can start MultiCharts in regular mode after that)