As you may have noticed, we recently released a new version of TradersStudio. New version of TradersStudio is now up to 10 times faster. It does this because it now runs in parallel on multicore machines. You can run this new version of TradersStudio on the same machine and same time as TradersStudio Pro and this new version is much much faster, On a basket of 30 markets about ten times faster on a six core machine and 6 times faster on a quad core. These numbers are for Intel based processors. In this post, we’ll explore a couple of ways in which the new version of TradersStudio will help you test complex strategies like never before!
There Are So Many Stocks…
It doesn’t take too long before traders realize that there are a lot of stocks out there. The S&P500 is comprised of 500 large-cap stocks. The NASDAQ has over 2700 stocks while the NYSE has 2300. There are a lot of trading opportunities out there. Suppose you were to write a system that you wished to test against the S&P500 basket of stocks. That is to say:
For every stock in the S&P 500 (i.e. 500 stocks), run my system on that stock.
In the previous version of TradersStudio, we would run this in a sequential manner. That is to say, we would run the system on the first stock symbol, then we would run the system on the next, and so forth. Depending on the complexity of your system, that could take a substantial amount of time. Indeed, put a little more mathematically, the total time would be 500 * time system took per symbol. If your system even took 1 minute per symbol, that would be 500 minutes!
The new version of TradersStudio solves this by parallelization. You no longer have to run this in a sequential manner, but – depending on the number of cores within your computer – TradersStudio will run one symbol per thread. Many of my trading clients have at least an 8 core machine (in fact, I’d say you’d be hard pressed find a laptop even that wasn’t at least quad core). As a result, if you had a machine that could process 8 symbols at once your system would take 500 * time / 8. If your system still took 1 minute per symbol, your test would be done in about an hour. If you had a machine that could process 16 symbols at once (very plausible with contemporary computers), you would only take 30 minutes. This is a far cry from nearly 8-10 hours before!
When using TradersStudio myself, I have seen speed-ups of approximately 10 times or more on my six core machine. This means that strategies that used to take me days to test can now be done within a matter of hours.
Another more subtle way of looking at this is that you can now test significantly more complex strategies on a basket of stocks. Consider an intermarket system that you wish to test against a variety of different markets (perhaps it’s a divergence system and you’d like to see if there are pairs of markets for which it works really well). This type of research is very time consuming sequentially. However, when we can execute these types of calculations in parallel, we can test particularly complex systems against a wide array of stocks, bonds, etc. We needn’t be so concerned with system optimization – rather we’re more free to make our systems computationally intensive.
I’m very proud of TradersStudio multi-core. It’s a significant upgrade to the single core version and has allowed me to create complex trading strategies quickly. If you value your time, the multi-core version will save you a lot of waiting around to see the results and that can significantly speed up strategy research and development.