Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Different results for walkforward optimization for each run

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Different results for walkforward optimization for each run

    Hi,

    What could be a reason for getting different results just by running a walkforward optimization without changing any parameters?
    For instance I ran 6 times and they are all different; up to 50% difference between the lowest net profit and highest.

    Is this normal/expected?

    thanks,
    Cedalgo

    #2
    Are you using exhaustive or genetic optimization? A genetic optimization almost always returns different results because it is a stochastic process.
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      #3
      Hello Cedalgo,

      Thanks for your post.

      This is a result of the way that Walk-Forward Optimizations use different threads to run optimization iterations.

      When multiple optimizations run concurrently on different threads, each one can finish at a different time, and will then add its performance results to the list, which is then ordered properly. This should only occur when different optimizations in the test (different parameter combinations) yield identical performance results.

      When iteration A with Performance X finishes after iteration B, which also has Performance X, then users can see the related lines in the list of iterations show up in an unexpected order, and the order could even change each time the Walk-Forward Optimization is run. It should also be a fairly rare case that two or more optimization iterations in a Walk-Forward test would yield identical performance results, but when you are iterating over smaller time periods this becomes more likely.

      This information is noted on the this forum thread: https://forum.ninjatrader.com/forum/...59#post1160759

      Please let us know if we may be of further assistance to you.​
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      77 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      27 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      63 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X