Difference between revisions of "CQG Broker Profile"

From MultiCharts
Jump to navigation Jump to search
Line 21: Line 21:
  
 
In the '''Properties CQG''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by CQG:
 
In the '''Properties CQG''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by CQG:
# Authority section. Enter '''Login''' and '''Password'''.<br><div style="background-color: #E3FBE5;">'''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.</div>
+
# Authority section. <br> Enter '''Login''' and '''Password'''.<br><div style="background-color: #E3FBE5;">'''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.</div>
 
# Reconnection Settings section. <br/> Configure timer to reconnect if connection to CQG is lost.
 
# Reconnection Settings section. <br/> Configure timer to reconnect if connection to CQG is lost.
  
 
[[Category:Broker Profiles]]
 
[[Category:Broker Profiles]]

Revision as of 08:44, 31 May 2012

To connect MultiCharts to CQG data feed, it is necessary to have their software installed on the computer. CQG has 2 programs that can be used for connection MultiCharts to CQG:

  1. http://www.cqg.com/Support/Getting-Started/CQGT.aspx
  2. 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.

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.
  2. Reconnection Settings section.
    Configure timer to reconnect if connection to CQG is lost.