Difference between revisions of "CQG Broker Profile"

From MultiCharts
Jump to navigation Jump to search
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
To connect MultiCharts to CQG/AMP account, it is necessary to have CQG API installed on the computer.
+
== General Information ==
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.
+
Please make sure that your PC meets CQG requirements and technical specifications: http://www.cqg.com/Docs/CQGTraderSystemSpecs.pdf
  
Open position Profit/Loss is provided through CQG API.
+
If you need '''data''' from CQG data source, make sure you have [[CQG|'''CQG data feed''']] set up.
  
Unrealized Profit/Loss for the account is provided through CQG API.
+
It is possible to use different accounts for getting data and trading.
 +
 
 +
Indexes are supported only with Live CQG/AMP accounts.
 +
 
 +
Open position Profit/Loss is calculated by MultiCharts. Unrealized Profit/Loss for the account is calculated by MultiCharts.
 +
Closed position Profit/Loss is calculated by MultiCharts.  Realized Profit/Loss for the account is calculated by MultiCharts.
  
 
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.  
 
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.  
Line 15: Line 19:
 
Stop-Limit orders with stop and limit levels not overlapping each other are rejected by the broker.
 
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.
+
When an order 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 [[Trading Risks# OCO-Orders Risk|OCO-Orders Risk]]).
+
CQG supports Native One-Cancels-Others group since version 9.1.
 +
Native OCO-group is used when the broker’s plug-in supports OCO-groups. In this case all OCO orders are sent to the broker directly and unfilled OCO orders will be cancelled by the broker (see [[Trading Risks# OCO-Orders Risk|OCO-Orders Risk]]).
  
== AMP Futures Accounts ==
+
== To connect CQG Broker Profile in MultiCharts: ==
  
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:
+
CQG '''accounts''' originally created for '''a different software will not work''' in MultiCharts. Customers need to contact their broker directly to setup their accounts for MultiCharts or request a new account.
  
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:
+
<div style="background-color: #E3FBE5;">'''Note''': CQG software and MultiCharts should not be launched simultaneously.</div>
# '''Windows Start''' menu
 
# '''Control Panel'''
 
# '''Uninstall a program''' / '''Programs and Features'''
 
# 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
+
== Setting up CQG Broker Profile ==
 
 
'''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:
+
In the '''Properties CQG''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by CQG: <br>
# '''Windows Start''' menu
 
# '''Control Panel'''
 
# '''Uninstall a program''' / '''Programs and Features'''
 
# 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)
 
# 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 ==
+
::* Authorization section.<br>Enter '''Login''' and '''Password'''.
 +
::* Connectivity section.<br>Make sure that the '''Server Name''' is correct.<br> From the drop-down list select '''Sim''' for a Demo account, '''Live''' for a Real account. <br>'''Custom''' should be selected only if you received specific settings and instructions from your broker.
  
In the '''Properties CQG''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by CQG:
+
Enable '''Convert stop orders guaranteed to be executed to market orders''' checkbox if you want Stop orders to be converted into market when they are guaranteed to be executed.<br>
# Authority section. <br> Enter '''Login''' and '''Password'''.<br><div style="background-color: #E3FBE5;">'''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'''</div>
+
Enable '''Convert stop limit orders into limit orders if stop price is hit upon order placement''' checkbox if you want Stop-Limit orders to be converted into Limit when the stop price is reached when the order is placed.
# Reconnection Settings section. <br/> Configure timer to reconnect if connection to CQG is lost.<br><div style="background-color: #E3FBE5;">'''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)</div>
 
  
  
  
 
[[Category:Broker Profiles]]
 
[[Category:Broker Profiles]]

Revision as of 16:37, 24 October 2019

General Information

Please make sure that your PC meets CQG requirements and technical specifications: http://www.cqg.com/Docs/CQGTraderSystemSpecs.pdf

If you need data from CQG data source, make sure you have CQG data feed set up.

It is possible to use different accounts for getting data and trading.

Indexes are supported only with Live CQG/AMP accounts.

Open position Profit/Loss is calculated by MultiCharts. Unrealized Profit/Loss for the account is calculated by MultiCharts. Closed position Profit/Loss is calculated by MultiCharts. Realized Profit/Loss for the account is calculated by MultiCharts.

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 order 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 supports Native One-Cancels-Others group since version 9.1. Native OCO-group is used when the broker’s plug-in supports OCO-groups. In this case all OCO orders are sent to the broker directly and unfilled OCO orders will be cancelled by the broker (see OCO-Orders Risk).

To connect CQG Broker Profile in MultiCharts:

CQG accounts originally created for a different software will not work in MultiCharts. Customers need to contact their broker directly to setup their accounts for MultiCharts or request a new account.

Note: CQG software and MultiCharts should not be launched simultaneously.

Setting up CQG Broker Profile

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

  • Authorization section.
    Enter Login and Password.
  • Connectivity section.
    Make sure that the Server Name is correct.
    From the drop-down list select Sim for a Demo account, Live for a Real account.
    Custom should be selected only if you received specific settings and instructions from your broker.

Enable Convert stop orders guaranteed to be executed to market orders checkbox if you want Stop orders to be converted into market when they are guaranteed to be executed.
Enable Convert stop limit orders into limit orders if stop price is hit upon order placement checkbox if you want Stop-Limit orders to be converted into Limit when the stop price is reached when the order is placed.