Difference between revisions of "CQG Broker Profile"

From MultiCharts
Jump to navigation Jump to search
Line 1: Line 1:
To connect MultiCharts to CQG data feed, it is necessary to have CQG API installed on the computer.  
+
To connect MultiCharts to CQG data feed, it is necessary to have CQG API installed on the computer: http://www.cqg.com/Products/CQG-API.aspx<br>
  
* http://www.cqg.com/Products/CQG-API.aspx<br><div style="background-color: #E3FBE5;">'''Note''': CQG software and MultiCharts should not be launched simultaneously.</div>
+
<div style="background-color: #E3FBE5;">'''Note''': CQG software and MultiCharts should not be launched simultaneously.</div>
  
 
Open position Profit/Loss is provided through CQG API.
 
Open position Profit/Loss is provided through CQG API.

Revision as of 10:06, 10 January 2013

To connect MultiCharts to CQG data feed, it is necessary to have CQG API installed on the computer: http://www.cqg.com/Products/CQG-API.aspx

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

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

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