This page contains a Flash digital edition of a book.
FX TRADING SYSTEMS


monitor what is happening and quickly identify where any issues are.


Once these rates are captured, they need to be stored in a database. Capturing tick data across many currency pairs means


potentially thousands of


updates per minute, so the database must be robust, with plenty of storage ‘headroom’; a full HDD will quickly crash any machine.


Hardware


Tis could be an entire article in itself, but suffice to say this environment cannot be run on a standalone computer and the only robust solution is to house the server in a data centre, of which there are many to choose from. Typically in London though, for a low latency connection to the main ECN’s, it means locating in ‘LD1 through 5’ – and more oſten LD4 in Slough.


Tere are many other equally good data centres located in other locations, only a few milliseconds further away,


but in the world of high frequency trading (HFT) where low latency is vital, even having a server a few feet closer to the exchanges’ servers, can make a difference; and there is now a high premium to pay for both the location of the data centre, as well as location within the DC itself. Te old adage of ‘location, location, location’ seems to hold true even in the world of HFT. Tere are similar data centres and premiums on space, in every major financial centre.


IT has come a long way in recent years and there are now Virtual Private Server (VPS) solutions available, which are both more robust than a single physical server as well as relatively inexpensive to maintain; the server actually residing on a ‘cluster’ or servers, meaning that any one server can completely fail, yet allow the VPS to continue running uninterrupted with


no downtime.


From this perspective, the playing field has been very much levelled in favour of smaller firms and individual traders, who can now afford similar levels of redundancy and raw processing power, which would have cost as least ten-fold the amount, until relatively recently.


Execution


Once clean data is coming into the algorithm, which is running on a stable environment, the last piece of the jigsaw is the execution itself. Without clean data,


spreads widening in an


Figure 7: Location of the key London Data Centres


illiquid market can mean signals being triggered erroneously, and valid trades being missed. Having addressed both of these challenges, the final step is the


34 FX TRADER MAGAZINE October - December 2013


execution of the trade itself. We worked with Cambridge Trading Research to develop robust execution algorithms, but again there are other firms who can write custom APIs (Application Programming


Interface) and many brokers provide ‘off the shelf solutions’.


Although there are a number of vital connections in the chain, a good rule of thumb is to keep each step as simple as possible, and to minimise the number of things that can go wrong.


Te solution that we settled on with CTR is having the algorithm write a simple string to a text file, with all the relevant details for the order, such as which currency pair, Buy or Sell, Amount,


type of order (limit


or market etc.). Tis file is then read by the CTRs Order Entry System and sent to the relevant broker in the correct format, meaning the solution can integrate with almost any broker.


Tis means that the VPS can be connected to via Remote Desktop, with every step of the process able to be monitored visually: Te data can be seen coming into Excel (see Figure 6), we can see it then plotted visually as a chart in any charting platform, such as MultiCharts™, we can see the orders being appended to the text file, as they’re written, and then visually see them executed in the ECN’s Graphical User Interfaces (GUIs).


Te system is also independently monitored 24 x 7 by the data centre, for any loss in connectivity.


Page 1  |  Page 2  |  Page 3  |  Page 4  |  Page 5  |  Page 6  |  Page 7  |  Page 8  |  Page 9  |  Page 10  |  Page 11  |  Page 12  |  Page 13  |  Page 14  |  Page 15  |  Page 16  |  Page 17  |  Page 18  |  Page 19  |  Page 20  |  Page 21  |  Page 22  |  Page 23  |  Page 24  |  Page 25  |  Page 26  |  Page 27  |  Page 28  |  Page 29  |  Page 30  |  Page 31  |  Page 32  |  Page 33  |  Page 34  |  Page 35  |  Page 36  |  Page 37  |  Page 38  |  Page 39  |  Page 40  |  Page 41  |  Page 42  |  Page 43  |  Page 44  |  Page 45  |  Page 46  |  Page 47  |  Page 48  |  Page 49  |  Page 50  |  Page 51  |  Page 52  |  Page 53  |  Page 54  |  Page 55  |  Page 56  |  Page 57  |  Page 58  |  Page 59  |  Page 60  |  Page 61  |  Page 62  |  Page 63  |  Page 64  |  Page 65  |  Page 66  |  Page 67  |  Page 68  |  Page 69  |  Page 70  |  Page 71  |  Page 72  |  Page 73  |  Page 74  |  Page 75  |  Page 76  |  Page 77  |  Page 78  |  Page 79  |  Page 80  |  Page 81  |  Page 82  |  Page 83  |  Page 84  |  Page 85  |  Page 86  |  Page 87  |  Page 88  |  Page 89  |  Page 90  |  Page 91  |  Page 92