Wednesday, September 30, 2009

Determining whether a movement is mean reverting

What characteristics would positive or negative momentum have to indicate that this is not movement to a new level, but ultimately a mean reverting cycle (in the short term)? Ultimately would like to come up with a view on the likely duration of the cycle (how strong and how long).

I have not fully studied this, but would look at the following:

  • volume in the buying or selling relative to historical for the time period as well as recent
  • lack or presence of news event
  • speed of ascent / descent (how do we distinguish period aggressive execution from sustained)
  • changes in complexion of order book

Wednesday, September 23, 2009

Cointegration "Machine"

I've done some interesting cointegration work for canadian securities. We should have worked out a basket trading strategy shortly.

I was thinking about the equity and FX markets and the vast number of total securities one might investigate. We can test for stable cointegration and mean-reversion style trading in a systematic manner. Why not create a "machine" to test the many combinations for viable trading strategies.

Of course we will need market data for a large number of securities to pull this off ...

Thursday, September 17, 2009

Momentum strong indicator in daily returns

On the side have been working with someone who is looking for long term strategies in the fixed income space. My strategies focus on intra-day trading primarily, but have found the start of a number of very attractive longer term (low frequency) strategies.

In particular, we are building a multi-factor model to predict market movements for Canadian bonds. Alternatively, we are also looking at cointegration models that would be implemented as long/short baskets of securities.

Sometimes the simplest ideas work best. I decided to look at a function of momentum over a period as a predictor of return over the following period. Did not expect to have such strong results. Here is the average return predicted by momentums at various standard deviations from parity:

An alternate graph of this showing standard deviation bands for returns against momentum levels:

There is certainly more work to be done to understand maximum drawdown and optimal money management.

Next Steps
Beyond momentum, we are also looking at building a continuous economic index (much like the Aruoba-Diebold-Scotto Business Conditions Index). This provides a continuous forecast of economic variables based on a stochastic state space model. Will discuss further in the next post.

Saturday, September 12, 2009

Cointegration Models

A colleague had asked if I could help develop a multi-factor cointegration model for the Canadian bond market on daily or more frequent sampling, based on a variety of market data and fundamental factors. I had not developed a model like this before and was skeptical that could produce a useful result short of some man years of research.

To my surprise, found a very high probability model with 95% R-squared values and very high significance in a variety of tests. Now have a variety of models based on it depending on all or some of the below:
  • US 3m rates
  • US 2y swap rates
  • S&P 500
  • S&P / TSE Composite
  • Shanghai Composite index (SSE 300)
  • Momentum
  • CAD/USD fx rate
  • CAD 5Y liquid bond
  • Surprise Index
With the 2 variable cointegration, one is simply trading mean reversion on the spread between one security and another. With a multivariate cointegration, one trades a long or short basket against the cointegrating security.