Tool to copy trade from MT4 server using ManagerAPI through .NET Wrapper to LMAX using their .NET API.
You will need to be sure you have latest version of LmaxClientLibrary.dll and LMAX-Instruments.csv that can be obtained from LMAX.
You need to obtain mtmanapi[64].dll files from MT4 Administrator installation, it is needed for .NET wrapper.
Chocolatey package can be downloaded from here: http://nuget.cplugin.com/feeds/apps/CPlugin.CopyTrade.ManAPITool.LMAX/versions
Settings #
After you run the application for the very first time it will generate sample settings file for you.
<source>
needs to describes source mt4 server connection parameters. Be sure that this account has manager rights.
<map>
nodes need to describe mapping between MT4 symbol names and LMAX. You can use regular expressions.
<destination>
nodes need to set LMAX connection settings, as many as you want.
<copy>
node is for setting copying logic.
in where
clause you can write expression using FLEE, you are able to use trade
variable.
in to
parameter you put id of destination connection and multiplier you want to use.
<?xml version="1.0" encoding="utf-8"?>
<settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lmax_csv="LMAX-Instruments.csv">
<!-- put your MT4 connections credentials here -->
<source address="127.0.0.1" port="443" login="1" password="password123" />
<!-- mapping between MT4 symbol name to LMAX -->
<map from="(...)(...)" to="$1/$2" />
<map from="(...)(...)c" to="$1/$2" />
<map from="XAUUSD" to="XAU/USD" />
<map from="XAUUSDx100" to="XAU/USD" />
<map from="US30" to="WS30" />
<!-- LMAX connections list, choose unique guid for each connection to keep relations with settings and persistance database, and never change after -->
<destination guid="76675c54-ba9b-4fd7-9002-56733a64934a" url="https://web-order.london-demo.lmax.com" login="login123" password="password123" isLive="false" />
<destination guid="b4ddeeb2-0efc-4d9e-95d7-be843d60a8f4" url="https://web-order.london-demo.lmax.com" login="login123" password="password123" isLive="false" />
<!-- rules to copy from MT4 to LMAX -->
<copy where="trade.Login in (817505; 203225; 205812) and trade.Symbol <> "US30"">
<!-- define which LMAX connection to use and how much volume to copy -->
<to guid="76675c54-ba9b-4fd7-9002-56733a64934a" coef="0.2" />
</copy>
<copy where="trade.Login in (817505; 203225; 205812) and trade.Symbol = "US30"">
<to guid="76675c54-ba9b-4fd7-9002-56733a64934a" coef="0.015" />
</copy>
<copy where="trade.Login in (1000; 210289)">
<to guid="76675c54-ba9b-4fd7-9002-56733a64934a" coef="1" />
</copy>
</settings>