Ensemble Building 101

In continuation with last post, I will be looking at building a robust ensemble for the S&P 500 ETF and mini-sized future. The goal here will be to set-up a nice framework that will be (hopefully) of good use for readers interested in combining systems in creating strategies. In order to make it more tangible, I want to create a simplified example that will be used as we move forward in development. I would encourage readers to actively comment and contribute to the whole process.

Before we do anything, as with any project, I want to have an idea of the scope so I don’t get entangled in an infinite loop of development where I am never satisfied and continuously trying to replace indicator after indicator for a marginal increase in CAGR on the backtest. For this example, I want to use 4 indicators (two with a momentum flavour and two with a mean-reversion flavour), a volatility filter and an environmental filter. The strategy will also have an adaptive layer to it.

Now that the foundation idea has been laid, let’s examine the mechanics at a high level, keep in mind that this is only one way you could about it. Basically I will be evaluating each strategy individually, looking at performance under different volatility environment and also with the global environment filter. Based on historical performance and current environment, exposure will be determined.

This series will have R code for the backtest (still debating using quanstrat/blotter) and the simple example will be available for download. My point is to provide reader a way to replicate results and extend the framework significantly. More to follow!


6 thoughts on “Ensemble Building 101”

  1. Can’t wait! Thanks for continuing to share so much quality material QF.

  2. Looking forward to your next post. I have been rigorously searching for the past few weeks for new strategies that will help to diversify my bottom line. I am sure something great will come out of here!

  3. I look forward to this series of posting. I am working on a very similar concept, but applied to currencies. I plan to start my testing in excel and then move to R for further analysis and optimization if necessary – I haven’t found a way to do dynamic position sizing based on portfolio closed equity in R, if you have I am all ears. I understand the concept of adaptive strategies, but have yet to grasp the application of it so I am really looking forward to that aspect of this

Comments are closed.

%d bloggers like this: