I have rather a challenging question. I'm hoping that someone can share their experience. I will build up the problem in steps. Let's start our thinking with the idea of a buy and hold strategy of ...
Ok, let's say I'm trading a spread of two stocks, X & Y, The spread is calculated as a ratio (Spread = X / Y). I use rolling stats to calculate the mean, standard deviation and hence the z-score ...