CQG Broker Profile

From MultiCharts
Revision as of 09:05, 8 December 2014 by Dave Masalov (Talk | contribs) (General Information)

Jump to: navigation, search

General Information

Since MultiCharts 9 CQG connection no longer requires installing the API, as the API is now integrated into MultiCharts.

To connect MultiCharts 8.8 or a lower version 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

In MultiCharts 8.8 or a lower version 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.

Since MultiCharts 9.0 beta 1 this limitation is no longer applied. It is possible to use multiple CQG accounts (multiple broker profiles) for trading in MultiCharts.

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).

Installing the API for MultiCharts 8.8 or a lower version

AMP Futures Accounts

If you are an owner of AMP Futures broker account, to connect CQG broker profile 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. It is recommended to launch MultiCharts by making a right-click on the icon, then 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).

For MultiCharts 8.8 Release and newer versions you need to install the following version of CQG API: https://dl.dropboxusercontent.com/u/27918922/API/Multicharts_COMAPI_en-US_production_V6.00.700_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 CQG broker profile. To connect CQG broker proifle 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/27918922/API/CQG_COMAPI_en-US_production_V6.00.700_Install.msi
  6. It is recommended to launch MultiCharts by making a right-click on the icon, then 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).

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.