Readers might be interested in an article that A. Duran and I have published  in Quantitative Finance this year entitled A Profitable Trading and Risk Management Strategy Despite Transaction Cost.  In the article, a number of the tools I’ve presented on the blog here have been used in the development of strategy which outperforms the S&P500 in rigorous out-of-sample testing.   We’ve made sure to check the robustness of the results, and have performed Monte Carlo simulations while varying the sets of stocks and time periods used in the calculation.   Here’s the abstract and a sample figure:

We present a new profitable trading and risk management strategy with transaction cost for an adaptive equally weighted portfolio. Moreover, we implement a rule-based expert system for the daily financial decision making process by using the power of spectral analysis. We use several key components such as principal component analysis, partitioning, memory in stock markets, percentile for relative standing, the first four normalized central moments, learning algorithm, switching among several investments positions consisting of short stock market, long stock market and money market with real risk-free rates. We find that it is possible to beat the proxy for equity market without short selling for S&P 500-listed 168 stocks during the 1998-2008 period and Russell 2000-listed 213 stocks during the 1995-2007 period. Our Monte Carlo simulation over both the various set of stocks and the interval of time confirms our findings.

You can download the paper either from SSRN or Quantitative Finance.


This post was originally published on August 22, 2007.  It has been republished from a previous version of the site.

The Omega Measure is a popular fund evaluation tool, allowing traditional economic decision theory to guide asset allocators.  Assets can be compared either at specific return thresholds or across a whole range of desired of returns.  Though typically used to evaluate fund-of-fund managers’ performance, I have here applied the Omega ratio to the ETF and CEF market at various specific thresholds.

Details:

As the Omega measure at a given return threshold is calculated on the Omega function, defined to be homeomorphic to cumulative return density functions, I have used the intuitive upper / lower partial moment method of calculation.  The thresholds used are no return (0), the average SPY return, the average IWM return, and twice the average IWM return.  I have weighted each return threshold thusly: 10% for 0 return, 50% for SPY return, 30% for IWM return, 10% for double IWM return.  To be fair, I have used only ETFs and CEFs that have traded at least 250 periods, and thus only 250 periods for each.

Symbol K=0 K=SPY K=IWM K=2*IWM Score
PMH 1.81 1.72 1.3 0.95 1.7
IAH 1.45 1.43 1.32 1.2 1.52
MXE 1.37 1.36 1.32 1.27 1.48
ITA 1.41 1.39 1.28 1.16 1.47
SHY 1.98 1.67 0.71 0.27 1.47
PPA 1.4 1.38 1.26 1.13 1.46
ASG 1.39 1.37 1.25 1.12 1.45
IXP 1.38 1.36 1.25 1.13 1.44
TTH 1.36 1.34 1.23 1.11 1.42
USA 1.37 1.34 1.2 1.06 1.41
PGJ 1.32 1.31 1.25 1.18 1.41
FXI 1.31 1.3 1.25 1.19 1.41
GGT 1.35 1.33 1.22 1.09 1.41
APB 1.31 1.3 1.24 1.17 1.4
CII 1.36 1.33 1.2 1.05 1.4
IHI 1.35 1.32 1.19 1.05 1.39
GAB 1.34 1.31 1.19 1.06 1.39
VOX 1.32 1.3 1.19 1.07 1.38
WMH 1.31 1.29 1.2 1.09 1.38
EWG 1.31 1.29 1.2 1.1 1.38

This post was originally published on April 13th, 2008. It was imported from a previous version of the site.

The simple moving average is easily the most fundamental indicator in technical analysis, and though there are many ways to use it, Tom Lydon of ETF Trends gives an example here.  I wanted to go into some detail on the relationship between the moving average and its predictive power, as I’ve done some comprehensive analysis of similar strategies in the currency markets.  Following along with Tom, I’ve decided to use the SPY tracker ETF for this example.

What I’ve done here is something similar to premium/discount analysis.  Pretend that the moving average is some underlying valuation, and look at what percentage above or below that price the ETF is actually trading.  You can see the actual close price and the moving average calculated on it in the top panel.  In the bottom panel, you’ll see the percentage of premium discount (in decimal form, e.g. 0.05 = 5%), as well as the cumulative return over the next N sessions.

To give some comparable horizon, I fixed the return outlook to the exact length of the moving average.  That is, if the premium/discount is calculated over the moving average of the last 100 sessions, I look at the return over the next 100 days.  Though this fails to take into account stop-loss strategies or other trailing/bracketed order methods, it gives a better picture of how the premium/discount factor and the actual market are correlated.  Furthermore, though discipline in your loss minimization is an absolute must, it makes much more sense to invest when the trend is more in your favor, both for actual performance and tax purposes.

So here are these calculations for both 100- and 200-sessions.  Note that the bottom panel of each graph only shows regions over which the numbers make sense, that is, once the moving average can be calculated and while there is still a full return period remaining.

For both graphs, the results look surprisingly symmetric.  When the premium is high, returns are low, and if the SPY is actually trading at a discount to its moving average, buy-buy-buy!  Accumulating when at or below the moving average seems to be a much better strategy for longer term holds.  For example, on the 200-session moving average, buying blocks when the SPY traded near par and selling them dumbly after 200 days, you’d make a little over 10% on average.  Following a similar strategy for the 100-session and buying blocks at about 3% discount yields even higher average returns!

There are a few important things to note though.  First, this does not beat a vanilla buy-and-hold forever strategy for return, but it does reduce the value at risk.  For most portfolios, one trumps the other!  Secondly, this strategy is only shown here when the derivative of the 200-session moving average is positive, that is, when the 200-session trend line is increasing.  This strategy is much more profitable when the 200-session moving average is not downward sloping, and I think this is where Tom’s wisdom comes from.  Though you might miss the initial rally that leads the moving average into a positive trend, you also miss all the times it doesn’t.

Though you can’t backtest the future, and index trackers are far different beasts than specialized ETFs, this data seems to point to a dumb yet successful strategy similar to premium strategies that bond and mutual fund traders often employ.  Though no replacement for disciplined loss management, it does seem to warrant further attention across the broader range of ETF products.