Backtesting question

Discussions about the testing and simulation of mechanical trading systems using historical data and other methods. Trading Blox Customers should post Trading Blox specific questions in the Customer Support forum.
Post Reply
Salamander
Senior Member
Senior Member
Posts: 37
Joined: Sun Feb 06, 2005 4:31 pm
Location: Massachusetts/New York City

Backtesting question

Post by Salamander »

Could someone please explain to me the following phenomenon I've noticed when testing systems: If I settle on a given set of parameters, etc. for a system and backtest it from, for example, 1990-2005, I get one set of results. Then, if I keep all parameters, etc. exactly the same and change only the date to, for example, 2000-2005, the results for the overlapping years (in this case 2000-2005) change a lot. Might this be due to differing equity levels affecting the choosing of trades, or what? Thanks.
damian
Roundtable Knight
Roundtable Knight
Posts: 815
Joined: Tue Apr 15, 2003 8:43 pm
Location: dusseldorf

Post by damian »

In your first test you possibly have open trades at the start of 2000 (very likely if you have a LTTF system). In your second test you will not have any open trade at the start of the test period (2000). The impact of this will depend on how your testing platform/your entry code deals with this.

The equity level will also have a huge impact if you are using position sizing such as fixed fractional. Try with single contracts. If there is still a difference then investigate the 'open trade' issue.
TrendMonkey
Roundtable Knight
Roundtable Knight
Posts: 154
Joined: Fri Apr 22, 2005 9:14 pm
Location: Vancouver, Canada

Post by TrendMonkey »

I have noticed this too and I think if your smaller date range was 5 years, open trades is likely to be less relevant. Equity is more likely to be the key factor, especially if you had a particularly 'good year' early in the longer date range.

One thing you can do is make sure that (for example) your results for 1990 match whether run for 1/1990-12/1990 or 1/1990-12/2004. I have found this to be the case (there may be a very small difference due to the open-trade effect as VT seems to assume all trades get closed at the end of the period, which is of course logical). All this really does is confirm that VT is reliable.
damian
Roundtable Knight
Roundtable Knight
Posts: 815
Joined: Tue Apr 15, 2003 8:43 pm
Location: dusseldorf

Post by damian »

Indeed, I was wrong.
Post Reply