PDA

View Full Version : Backtesting futures - require assistance



ajzohrnd77
11-02-2016,
I'm looking to expand my trading set from FX and gold to include other commodities, for which there is no escaping the futures market.

My system is medium term in nature, with successful positions lasting 2-4 months. Backtesting FX is simple enough, but what is the "correct" approach with futures, where the main contract jumps around and/or expires?

At the moment I'm looking at continuous data as supplied by Reuters, but this is a simple splicing approach. What I'm looking to find is a data provider who can supply back adjusted futures data ... and also how does this translate into identifying entry and exit points - e.g. if I buy when 10 day MA crosses over 50 day MA, what happens to these MAs when the contract changes?

Alealokato
11-04-2016,
Getting it straight with data is always a problem. I am not sure which is the best provider for futures. I have found errors in the data of the ones I used so I won't recommend anyone. You raise an important issue though most people are not aware of and I was not until I read the book "Profitability and Systematic Trading" (page 103) where the author talks about the impact of various series types on backtesting results. If you can find a scanned copy around check it out, it is quite revealing I must say. In summary, it all depends on what type of stops you are using. Since continuous future contracts are adjusted by subtracting or adding a fixed number of points if you use percent stops the backtesting results will be different each time the series is updated with the addition of another contract. Quite revealing , isn't it? With stocks and splits, the results will be different if you use point stops because in that case prices are divided by the split factor. Intriguing, I must say. I wonder how many traders do backtests without them being aware of these facts. I think the author of that book I mentioned is the only one AFAIK who has elaborated on such issues and I wondered when I read that how many real experts on trading system development are actually out there or whether it is the case that very important facts are obscured so that some people maintain their edge. Also, check out the author website (http://www.tradingpatterns.com/), his program is one of the best ones I have used for finding patterns in futures data

AlmoPa
11-05-2016,
What a can of worms.. I've spoken to Pinnacle about their data, I'll give it a whirl and let you know.