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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        46 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        14 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X