I've been trouble shooting this all day and am about to pull out my remaining 
few hairs.  Any insight into this would be extremely appreciated.

A walk-forward test on a system that has "dummy" variables should in theory, 
match the results of a simple backtest over the same test period as the 
variables aren't doing anything.  The same exact code is being run across each 
period of time.  They aren't matching up.  

Fine you say, it is because of trades being exited at the end of each OOS 
period vs trades being carried through those transition periods.  Nope, I added 
a line to the code that exits all trades the last day of the year and I am 
using 1/1/xx-12/31/xx OOS periods so all open trades are getting dumped at the 
same time for regular backtest and WF.

Next step was to run regular backtests over my individual OOS WF periods. Yes 
they match.  What I noticed here though is that since I am using $100k as my 
initial equity, that means each WF step must also be using $100k so the 
~~~OSequity curve at the completion of a WF test is somehow synthetically 
generated from a bunch of unique $100k segments rather than carrying over the 
final equity from the previous OOS segment.  Is this correct?  I suspect this 
is where the discrepancies are coming from but I need to know for sure to have 
confidence in what I am seeing.  

Perhaps it has something to do with this compounding of $100k segments rather 
than using the previous OOS segment's final equity as the starting equity for 
the new segment? 

Reply via email to