Wednesday 11 May 2022

Historic and recent performance by trading rule

 Another brief post this month; the deadline for the first draft of my latest book is only a couple of months away and I haven't got much free time! But I was asked an excellent question on twitter recently, which was how the various types of trading rule have contributed to my p&l this year. 

TLDR: divergent eg momentum good, skew brilliant, other convergent rules poor.

In fact with my new dynamic optimisation strategy it's actually quite hard to answer that question. For example, it's plausible that I could have made all my money in one particular trading rule in a group of instruments that I don't ever take a position in. Instead, I can tell you what would have been contributed had I been trading a static portfolio without any contract rounding issues. This should be a pretty decent proxy, although generally it will over estimate what I have actually been able to achieve with my relatively modest capital.

[To get technical, it would be impossible to do this100% accurately for a static strategy unless it had (1) very large capital and (2) no buffering or other path dependency in positions]

An important question is whether we look at this performance on a weighted or unweighted basis. Weighted performance for a trading rule is basically the contribution of that performance to our aggregate p&l. The disadvantage of looking at this, is that rules with small forecast weights will be hard to see. 

I have a lot of trading rules! Plotting them all in one go would be (a) messy and (b) kill my computer. Instead I set up sub-strategies, each with a subset of my trading rules, and then plotted the performance of (i) the entire account curve for that subset (which effectively weights the rules within that subset according to the forecast weights for each instrument) - these are the thick black lines, and (ii) the individual trading rules in that subset at the same risk - i.e. unweighted - this allows us to see their performance more clearly.

I've also chucked in some Sharpe ratio figures for the total (in the title of each chart) and for each rule variation (in the legend). Sharpes are a bit wild for just year to date, but there you go. Naturally, everything here is after costs. Finally, note that this data goes up to to the 4th April, so misses some poor performance over the last couple of days (I'm writing this on 10th May).

Anyway enough chat, here's some pictures. First of all, let's look at the year to date. 

Here's my backtested performance YTD after dynamic optimisation,  plus my actual performance. It's reasonably meaningful to do this, since I've run with the same strategy since November.

Looks like I got lucky with executions when the market turned against me in early March.

Now for the figures for each trading rule.


Asset trend:

Normalised momentum:

Momentum (EWMAC):


Relative momentum

With the exception of relative momentum, all very good, but also all very similar so not much diversification there.

That's it for the 'divergent' rules, now for the 'convergent'. 
First, Carry:

Relative carry (only one rule variation)

Mean reversion in asset class

Mean reversion in the wings

Skew (absolute):


Not such a good performance, apart from skew which was flipping amazing.

So year to date, very much driven by the 'divergent' trading rules.

Out of curiosity, what does live vs backtest look like since I started trading (April 2014)? Remember that prior to November 2021 I was using a rather different strategy, so they are unlikely to match precisely before that date:

Now, as we have the data, let's look at the performance by trading rule group for some other time periods.

Last 10 years:

Notice how correlated these last 3 rules are.

And now for the entire back test