Posts tagged ‘Backtesting’
System Lab: March 2012 Performance
The system closed the month of March with a modest gain (+2.5%). With the exception of a few days, most of the market’s movement continues to be in the gaps, with relatively narrow intraday ranges. Again and again the market gaps up/down and then just lays there. Everyone seems to be guarding their chips and waiting for the other guy to make the first move.
So why all the caution? My personal view is that the ever-looming Euro debt crisis has instilled quite a bit of fear into the markets and the retail investor (after loosing all of his home equity and most of his 401K) has run screaming, fleeing equities for the foreseeable future. Thus, what we seem to have now is a listless market comprised largely of HFT bots trading money back and forth. A zero sum game and a difficult environment for the retail day trader, to be sure.
What Happened To The Quants In August 2007? (paper)
Interesting paper that discusses outlier losses experienced by long/short hedge funds during 2007 and proposes an interesting EOD RTM strategy (one I developed and tested myself prior to coming across this paper, dammit!):
(click on title for link)
System Lab: January 2012 Performance
January was a fairly moderate month and its limited volatility offered pretty slim pickings. The system had some nice returns right out of the gate, but these were pared back as the month progressed and most days were under +/- 1%. The good news is that the system was still able squeeze out a modest gain of +1.8% for the month. Not earth shattering, but I’ll take it.
Three Consecutive Higher Closes
This system trades a variation of the “3 higher closes” strategy on the SPY index ETF. It trades from the long side only, using the following entry criteria:
Buy SPY at the close if
- It has closed higher three consecutive days in a row and each close > open.
- SMA50 > Close > SMA200.
- Yesterday’s volume > SMA50
The system holds for N days and exits at the close. Here’s a chart showing the reward/risk ratio vs hold time:
Some caveats include that backtest only generated 6 trades in over 10 years and the results didn’t include slippage/commission. Hardly statistically significant, but interesting nevertheless…
Strong Closes for Modest Gains
Here’s a quick little study on a simple mean reversion technique using the SPY ETF:
I suspect that when you factor in commissions and the fact that one cannot conditionally short the close price of any stock (MOC orders generally have to be entered >10min prior to the close), the edge might prove artificial. Interesting food for thought, though…
Nuts & Bolts: Survivorship Bias
Survivorship Bias (SB) is a plague to most trading system developers. Pick any basket of stocks to trade and you’ve just introduced it into your results, especially if that basket is a collection of index components (like the S&P500, Nasdaq 100, etc).
So what exactly is this bane of all algo traders? Here’s the textbook definition:
Global Optimization Algorithms: Theory and Application (e-book)
Well written e-book on various optimization strategies using bio-inspired/evolutionary techniques (click title).
Risk and Return in Momentum Strategies (paper)
An interesting paper on the classic Momentum strategy but with a few new twists to factor in tail risk (click on title):
Bootstrapping: White’s Reality Check
Interesting article on WRC (click title):
