Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Walk Forward Efficiency #446784
10/30/14 23:54
10/30/14 23:54
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
I've been reading Robert Pardo's book "Evaluation and Optimization of Trading Strategies", in which he discusses Walk Forward Analysis at length.

He states that a reliable measure of strategy robustness is the Walk Forward Efficiency (WFE), which is simply the ratio of the out of sample profit (or other performance measure) to the in sample profit (ie the profit generated on the optimized training data set).

In Zorro's WFO performance report, we currently get the out of sample results. Is there any easy way to get the in sample results and compute the WFE? Or would I need to set up individual optimization runs that correspond to the training periods used in the WFO?

Is this a feature that is worth including in a future Zorro release?

Re: Walk Forward Efficiency [Re: boatman] #446791
10/31/14 10:32
10/31/14 10:32
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
We have tested this some time ago with our strategies, and found that the WFE was not correlated to strategy robustness. Some quite robust strategies had a low WFE and unstable strategies had a high WFE.

Re: Walk Forward Efficiency [Re: jcl] #446795
10/31/14 21:30
10/31/14 21:30
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline OP
Senior Member
boatman  Offline OP
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
That's really interesting, and thank you for sharing your findings. I will read Pardo with a somewhat more critical mind!

Re: Walk Forward Efficiency [Re: boatman] #447265
11/29/14 12:31
11/29/14 12:31
Joined: Oct 2014
Posts: 3
Italy
D
Daltanious Offline
Guest
Daltanious  Offline
Guest
D

Joined: Oct 2014
Posts: 3
Italy
I have found that sometime insanely high WFE values are caused by wrong sign management in the WFE formula.

The WFE formula is:

out of sample annualized rate of return / in sample annualized rate of return

Now... the point is that if we choose (by error or by will) a negative in sample value we're going to mess things up because if the out of sample profit will be positive the result will be negative (bad)... and that's wrong since the the out of sample is good. Vice-versa if the out of sample is negative the global WFE sign will be positive and thats also wrong.

The point is that we shouldn't never use negative in sample return while using only the sign on the out of sample in the WFE formula (note: I'm not saying to use the ABS of the in sample profit, just never ever choose negative in sample profit).

I wrote that because I have found that a couple of tools I've used to manage WFE if forced to choose not the best profit but, let's say, the best dd% can naively pick a negative in sample profit ruining in fact every WFE calculation.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1