Ten Things that Affect the Speed of a Trading System

What factors affect the speed of an automated trading system? Here is a list of the 10 things that affect the speed of a real-time automated trading system, in no particular order.

1.      Programming language and efficiency of the code: The programming language and compiler used to implement an automated trading system will affect the speed of the trading system. Some languages built on some compilers will run faster than others. Applications developed in MS Excel will suffer from serious problems, not the least of which will be the slowness of Dynamic Data Exchange (DDE) technology. Serious automated trading systems should be developed in a more robust environment or created from scratch in code using, for example, C++, Visual Basic.NET, or C#. Traditionally, C++ has been viewed as the premier language for trading system development, although the advent of Microsoft’s .NET Framework makes Visual Basic.NET and C#.NET viable implementation languages. The efficiency of the code and the use and management of multiple threads will also affect speed. Well-written code runs fast, whereas poorly written code runs slow. Furthermore, well-written, object-oriented code will be far easier to debug and maintain.

2.      Hardware specifications: Bigger, more powerful, newer servers and client computers run faster than smaller, less powerful, older ones. Also, multiprocessor machines will be an advantage.

3.      Multitasking: I know a trader who used to run an Excel-based automated trading system on his desktop computer. On the same computer at the same time, he had several windows of his front-end trading platform open, was watching Bloomberg Television, was analyzing technical indicators in a charting package, surfing the Internet, and sending emails. Obviously, multitasking will slow down a trading system.

4.      Connectivity: Cross connection or/and T3 lines are more expensive but much faster. Also, sharing lines with other applications or other firms in the building will damage performance. One firm I talked to had only recently realized that their T1 line was for the entire floor of their building, not just their office.

5.      Third-party front-end software and API: Not all front ends are created equal; some are faster than others. Also, third-party APIs may connect directly to an exchange, whereas some may connect via the front-end trading platform; another step in the process will slow things down.

6.      Clearing firm’s technology: Do your trades go to the clearing firm’s servers first for approval? Not all clearing firms are created equal. Of course, less expensive commissions may trade off against slower speed.

7.      Operating system: Different Microsoft operating systems will show different performance. While UNIX is generally understood to be faster, it is more expensive to implement, maintain, and develop on.

8.      Exchange technology: Some exchanges are just plain faster than others. Also, exchange price servers may show different performance than fill servers.

9.      Distance from the exchange: Distance not only in terms of miles but also in the number of technological “steps” will certainly impact speed. A trader I know spent a lot of money on fast computers but failed to realize that his internet service provider was sending all his trades from Chicago to servers in Atlanta and back to the exchange in Chicago. The optimal solution is to have your trading system on a server in the office next to the exchange access point. Sending orders across the ocean slow things down.

10.  Time of day: Trading at the open will be slower than at 1:00 in the afternoon. Fast markets will slow things down.

 

ENJOY! And Share if you like it!

Ariel Silahian

http://www.sisSoftwareFactory.com/quant

https://twitter.com/sisSoftware

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s