Standing room only at Robert Carver's talk at the MTA in London last night. Video will be on www.MTA.org shortly.
Thanks glad you enjoyed. Please let me have the link when you have it (I'm assuming you are something to do with the MTA?!).
GAT
Hi Rob,
I've decided to try building your system from the ground up, as I figured this would be a good exercise to understand it properly.
I've been using your book/blog, and I'm stuck on the forecast weights. I've calculated the individual EWMAC forecasts, scaled them to have a mean forecast of +/-10, and clipped them to +/-20. Now I'm trying to combine them with a weighted average, but I can't figure out the weights.
I'm guessing I want to downweight highly correlated forecasts and upweight uncorrelated ones.
What I can't tell here is if I'm supposed to do a calculation with the correlation matrix, or use bootstrapping in order to get the weights to combine the forecasts?
(I've attached a PDF of my ipython notebook as ET won't let me upload it directly).
Thanks!
Here are the slides
https://www.docdroid.net/8J4RVB7/mythmtalondonfinalv3.pdf.html
I'm still waiting on the video
GAT
It's probably easier to show you my code.
Code:def breakout(x, ws): max_x=pd.rolling_max(x, ws, min_periods=min(len(x),int(ws/2))) min_x=pd.rolling_min(x, ws, min_periods=min(len(x), int(ws/2))) sig=[breakout_one_row(idx, x, max_x, min_x) for idx in range(len(x.index))] sig=pd.TimeSeries(sig, index=x.index) sig=pd.ewma(sig, span=int(ws/4.0), min_periods=int(ws/8.0)) return sig def breakout_one_row(idx, x, max_x, min_x): r_px=x[idx] r_min=min_x[idx] r_max=max_x[idx] return 4*(r_px - mean([r_min, r_max]))/(r_max - r_min)
I'd do it by pooling across instruments (by coincidence just blogged on this http://qoppac.blogspot.co.uk/2016/01/pysystemtrader-estimated-forecast.html)
Hi GAT,
Do you vol standardise your breakout rule?
