GAIN Capital Broker Plug-in: Difference between revisions
From MultiCharts
→Setting up GAIN Capital Broker Plug-in
No edit summary |
|||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
'''(ex. Open E Cry/OEC)''' | |||
If you need '''data''' from GAIN Capital data source, make sure you have [[GAIN Capital|'''GAIN Capital data feed''']] set up. | |||
<br> | |||
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. | ||
<div style="background-color: #E3FBE5;">Note: If you manually drag Stop orders to the price equal to current market price or better (guaranteed to be executed), they won’t be converted into market orders. </div> | <div style="background-color: #E3FBE5;">'''Note:''' If you manually drag Stop orders to the price equal to current market price or better (guaranteed to be executed), they won’t be converted into market orders. <br/> But if the sent order is modified, i.e. moved to the price equal to current market price or better (guaranteed to be executed), it will be rejected and modification will not be executed. </div> | ||
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: if at the moment an order is sent its stop level is met, then it will be converted into market order. | ||
Stop-Limit orders for FOREX are not supported by | Stop-Limit orders for FOREX are not supported by GAIN Capital. | ||
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. | ||
Line 13: | Line 18: | ||
Price and volume adjustment for orders is not supported on FOREX instruments. | Price and volume adjustment for orders is not supported on FOREX instruments. | ||
Open position Profit/Loss is calculated by | Open position Profit/Loss is calculated by GAIN Capital broker and displayed in MultiCharts. | ||
Unrealized Profit/Loss for the account is calculated by | Unrealized Profit/Loss for the account is calculated by GAIN Capital broker and displayed in MultiCharts. | ||
GAIN Capital supports Native One-Cancels-Others group, however, it is limited to only 2 orders with the same number of contracts. Therefore, 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]]). | |||
====Setting up | ====Setting up GAIN Capital Broker Plug-in==== | ||
In the Properties | In the Properties GAIN Capital window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by GAIN Capital: | ||
# | # Authorization section. <br/> Enter '''Login''' and '''Password'''. | ||
# Connectivity section. <br/> Check the '''Server Name''' and '''Port''' number | # Connectivity section. <br/> Check the '''Server Name''' and '''Port''' number (default Port number is '''9210''').<br/> | ||
# Default Order Settings section.<br>It is obligatory to specify an account in Account field to send orders to. Click '''Lookup''' button to get list of available accounts and select one of them.<br> | |||
# Default Order Settings section.<br>It is obligatory to specify an account in Account field to send orders to. Click Lookup button to get list of available accounts and select one of them. | |||
Select one of 4 available Time | Select one of 4 available '''Time in Force''' order parameters:<br> | ||
* '''DAY; or:''' <br> Order is canceled if it does not execute by the close of the trading day. Unless otherwise specified, every order is a Day order. | * '''DAY; or:''' <br> Order is canceled if it does not execute by the close of the trading day. Unless otherwise specified, every order is a Day order. | ||
* '''GTC (Good-Til-Cancelled); or:''' <br> Order will continue to work within the system and in the marketplace until it executes or is canceled. | |||
* '''GTC (Good- | |||
* '''IOC (Immediate-or-Cancel); or:''' <br> Any portion of an order that is not filled as soon as it becomes available in the market is canceled. | * '''IOC (Immediate-or-Cancel); or:''' <br> Any portion of an order that is not filled as soon as it becomes available in the market is canceled. | ||
* '''FOK (Fill or Kill Orders); or:''' <br> Specifying that the order must execute immediately and in its entirety, or be canceled. | |||
* '''AON (All Or None); or:''' <br> A buy or sell order that the broker fills completely or not at all. | |||
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. | |||
[[Category:Broker Plug-ins]] | [[Category:Broker Plug-ins]] |