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.​
      Brandon H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by futtrader, 04-21-2024, 01:50 AM
      4 responses
      41 views
      0 likes
      Last Post futtrader  
      Started by Option Whisperer, Today, 09:55 AM
      1 response
      11 views
      0 likes
      Last Post bltdavid  
      Started by port119, Today, 02:43 PM
      0 responses
      3 views
      0 likes
      Last Post port119
      by port119
       
      Started by Philippe56140, Today, 02:35 PM
      0 responses
      4 views
      0 likes
      Last Post Philippe56140  
      Started by 00nevest, Today, 02:27 PM
      0 responses
      2 views
      0 likes
      Last Post 00nevest  
      Working...
      X