Changes

Jump to navigation Jump to search

Getting Started with AutoTrading

73 bytes added, 20:20, 3 February 2012
# Click '''Settings'''.
# Input the settings for the appropriate broker/gateway.
#* '''''Broker Plug-In Settings for FXCM'''''<br><br>#** '''''Account Settings Tab: '''''<br>Please get the Login, Password, and Account information from the broker. In the '''Connection''' setting, select Demo to connect to the demo account or Real to the real trading account.<br><div style="background-color: #E3FBE5;">Note: Due to FXCM's restrictions, MultiCharts will not send limit or stop orders to FXCM. All limit or stop orders will be sent as market orders.</div><br><br>#** '''''Symbol Dictionary Tab: '''''<br>If the data source is different from the execution gateway, it is possible that they do not use the same symbol for the same contract. In this situation, the chart, because it is plotted from the data source, will send an order using the data source’s symbol. The execution gateway will not understand the data source’s symbol and will reject the signal. Symbol Dictionary solves this problem by matching the symbol from the data source to the symbol from the execution gateway. The table has two columns. Input the symbol from the data source under the Chart column. Input the symbol from FXCM under the Currency Column.<br><br>#* '''''Broker Plug-In Settings for Interactive Brokers TWS'''''<br><br>#** '''''General:''''' <br>By default, MultiCharts disables auto trading immediately if connection with the execution gateway is lost. However, in some cases, short interruptions can be acceptable because it doesn’t affect the strategy. The disconnection may also be a scheduled disconnection by the execution gateway, and the intention is to have auto trading on when the connection is reestablished. The '''Connection''' setting keeps auto trading on unless the disconnection lasts longer than the time period specified.<br>When TWS loses its connection with MultiCharts while auto trading is on, MultiCharts will try to reconnect with TWS every 10 seconds until the connection is established or auto trading is turned off.<br><div style="background-color: #E3FBE5;">Note: If TWS is closed, MultiCharts cannot start TWS and automatically log into TWS for the user.</div><br>MultiCharts will not reconnect with TWS in the following scenarios:
#*** Interactive Brokers is used only as the broker and another provider is used as the data feed
#*** The strategy sent an order while TWS was disconnected<br><br>#** '''''IB Settings Tab:'''''<br>The '''Server''', '''Port''', and '''ClientID''' settings under the IB Settings tab are detected automatically. The settings need to be changed only if Trader Workstation and MultiCharts are running on different computers. For the correct settings consult the system administrator.<br>The '''Order Settings''' section is for specifying Time in Force, Settling Firm, Clearing Account, and All or None Execution settings for the orders. Time in Force determines the life span of the order before the order is cancelled. The Settling Firm and Clearing Account fields are institutional settings. Institutional account holders should contact the broker for the correct settings. All or None Execution determines whether partial fills in entry and exit orders are permitted.<br><br>#** '''''Symbol Dictionary Tab:'''''<br><br>If the data source is different from the execution gateway, it is possible that they do not use the same symbol for the same contract. In this situation, the chart, because it is plotted from the data source, will send an order using the data source’s symbol. The execution gateway will not understand the data source’s symbol and will reject the signal. Symbol Dictionary solves this problem by matching the symbol from the data source to the symbol from the execution gateway.<br><br>To map a symbol:
#*# Click '''Add''' to add a symbol. A new row will be created. The name of the symbol from the data source will populate the '''Chart''' column.
#*# Enter the root of the symbol that the execution gateway uses in the '''Underlying''' column.
#*# Enter the exchange name that the execution gateway uses in the '''Exchange''' column.
#*# Enter the expiration date in the format that the execution gateway uses in the '''Expiry''' column. (This field is only required for Futures and Options).
#*# Enter the currency in the format that the execution gateway uses in the '''Currency''' column.<br><br>#** '''Example:'''<br>#** <brdiv>{| class="mediawikiwikitable"
!Symbol
!Underlying
|200806
|USD
|}</div><br><br>#*:The above Symbol Dictionary example maps the eSignal ES #F (S&P E-mini Future Continuous Contract) symbol to the ES June 2008 contract
from Interactive Brokers TWS.<br>
<br><br><div style="background-color: #F8F6CD;">Important: Make sure that the format is YYYYMMDD. The format YYYYMM will not work for all symbols.</div>

Navigation menu