Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How come Optimizer runs a lot faster than Backtest?

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

    How come Optimizer runs a lot faster than Backtest?

    If I do an Optimize with all the variables static over data from May-Sept .. it comes back MUCH quicker than if I run a Backtest with the same values over May-Sep.

    I get the same results -- which is a good thing. But I'm curious, why does doing a Backtest take longer to process? Do other people experience this same behavior? Is there any explaining it?

    Part of me trusts the Backtest more...but I also don't want to be waiting around for results if I don't have to. So I've kinda switched to just using the optimizer, even if I don't have different values to iterate over.


    Anyone have any ideas why Optimizer is faster than Backtest?

    #2
    Nyboe, thanks for the post - are you using exactly the same paramter settings for both runs (backtest vs optimizer)?

    Comment


      #3
      Yes, the same exact parameters.

      When I run a Backtest with one set of parameters (that's all you can do), it's takes a good bit of time. But when I run optimizer over say 3 iterations [one variable values 1-3] ... they fly by? It takes some time to initialize, but then it flies by.

      I added a Log( ... ); in the Initialize() method which prints out the vairbles...so I can see how fast optimize goes through one iteration.

      Is each iteration of Optimize the same as a Backtest with the same parameters? How does optimize fly through them so much quicker?

      Comment


        #4
        Thanks I see, this is expected for the following iterations of the optimizer as parts would still be stored in memory and thus quicker access would be the result.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        573 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        575 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X