Current location | Thread information | |
![]() ![]() ![]() ![]() ![]() ![]() |
Last Activity 1/2/2025 4:50 PM 8 replies, 1628 viewings |
|
|
Printer friendly version |
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
My entry for the dumb question contest: In trying to understand the process What is the forward test using if it follows a backtest with no optimization? With a 1000 bar BT and a 1000 bar FT, e.g., the results of the FT are significantly different, and always lower performance, than the backtest. If no optimization has been done what exactly is the forward test basing trades on? | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
I haven't observed that "always lower" distinction before ... could be result of your timeframe selection ? I've always presumed (and depended on!) non-optimized Analysis (and SW) runs to treat BT and FT just as two "bins" of equal significance. | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
I may be doing something wrong but I have done many tests where I have "always" observed the lesser performance on the FT. I realize that is not completely scientific but I have never seen otherwise. I have attached files from one of my many tests. This is a daily 1000 bar BT and FT with no optimization and the relative results of BT and FT are typical of what I get. This is what prompts me to ask what is happening in a FT that is followed by a BT with no optimization. Thanks for any light you can shed. ![]() ![]() ![]() | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
Could be a couple of reasons for this: Market during latest 1000 bars (4 yrs) could be less amenable to those Strats than in the prior 1000 bars / 4 yrs, thus showing lower performance. To check, try using the date input instead, and move everything back 4yrs, so the old BT pd is now the new FT pd, and the new BT pd is 4 yrs earlier. Or ... If those Strats had been "tuned" a bit too much during development, and if the tuning was done with an emphasis on bars a few years ago and before (not at all uncommon), then the tuning process itself will have introduced "invisible optimization" to the results. The only way to be sure is to test the strats using both BT and FT ranges that are AFTER the strats were first released. [Edited by Jim Dean on 12/4/2017 4:02 PM] | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
Jim, thanks for the response. That helps me to understand that there is nothing squirrely going on internally with the test process as I know you have a lot of expertise in the workings. I have not changed any of the strategies and am only being restrictive with the voting parameters to eliminate trades. So, as you say then I suspect it has a lot to do with the period over which the strats were originally tuned. I will split up some of the tests to compare periods. | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
I have run a backtest with a forward test and a backtest with no forward test with the test periods aligned so that the backtest with no forward test is over the same period of the forward test where there was a backtest. No optimization was used and all settings are identical. The number of bars in the backtest and forward test are the same(1000). Comparing the results they are not the same, and not by rounding but by significant enough values that there seems to be something else going on. It appears OT is processing the tests differently and I am trying to find out why. This apparent anomaly shakes my confidence in these tests until I understand why. Any explanation would be appreciated. | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
Good test. Barry needs to investigate. | ||
^ Top | |||
Barry Cohen![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6338 Joined: 1/19/2004 ![]() |
I cannot reproduce what you are seeing using the same strategies & settings. The BT & FT seem very equivalent for me, as they should be with mechanical strategies. Looking closer at your screenshots, I see that the individual strategies are actually equivalent stats, & it's only the "All Strategies" stats that are suspect. This points to the Strategy Voting settings you are using (button at the bottom of the Strategies list). I would guess that you're using a ranking method or a filter & that's what is throwing it off. Try disabling everything in the Performance tab under Strategy Voting. | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
The screenshots from a previous post were not for the recent 1000 bar test I referred to but good point. However, if all settings are the same and the data is the same, what is done differently in a FT with no backtest optimization vs. a BT with no optimization over the same data? I re-ran without any strategy voting and the results are very close now. There is a little over 1% difference in the number of trades and HR% is very nearly the same so that is a completely acceptable result. As a user and not a programmer I don't need to know why the strategy voting is different and am comfortable with the fact that is just is. Thanks ![]() ![]() |
|
|
Legend | Action | Notification | |||
Administrator
Forum Moderator |
Registered User
Unregistered User |
![]() |
Toggle e-mail notification |