Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization results - should be cached

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

    Optimization results - should be cached

    After Optimization is done, there are many variants of the configuration.

    When I want to see the results of various variants, then backtest for that variant
    is run internally again and it takes (long) time to finish it.

    Could be all backtest results cached after running optimization?

    (currently only Summary tab is cached, but all other tabs are recalculated by running backtest again. It is extremely uncomfortable, to wait 5 minutes after looking at another variant).

    Please, add caching of results for all tabs in backtest result, not only for Summary.

    #2
    Originally posted by misova View Post
    After Optimization is done, there are many variants of the configuration.

    When I want to see the results of various variants, then backtest for that variant
    is run internally again and it takes (long) time to finish it.

    Could be all backtest results cached after running optimization?

    (currently only Summary tab is cached, but all other tabs are recalculated by running backtest again. It is extremely uncomfortable, to wait 5 minutes after looking at another variant).

    Please, add caching of results for all tabs in backtest result, not only for Summary.
    Why not just save the results that are of interest to you?

    Comment


      #3
      Not sure, if I understand...

      Example of problem:
      After optimization results are finished, there 80 variants of strategy configurations.
      One have to look into their details (look at Trades tab, Graphs tab, ... to evaluate, which variants are good.

      If someone wants to save trades (from tab Trades) for 5 selected variants from the Optimization results, then each one variant is slowly recalculated = it takes for example 5 variants * 7 minutes = 35 minutes. (if average backtest takes 7 minutes).

      Wait after each click some minutes, is just horrible user experience, when reviewing optimization results.
      Last edited by misova; 09-21-2014, 05:38 PM.

      Comment


        #4
        Originally posted by misova View Post
        Not sure, if I understand...

        Example of problem:
        After optimization results are finished, there 80 variants of strategy configurations.
        One have to look into their details (look at Trades tab, Graphs tab, ... to evaluate, which variants are good.

        If someone wants to save trades (from tab Trades) for 5 selected variants from the Optimization results, then each one variant is slowly recalculated = it takes for example 5 variants * 7 minutes = 35 minutes. (if average backtest takes 7 minutes).

        Wait after each click some minutes, is just horrible user experience, when reviewing optimization results.
        If you rerun the optimization for each configuration, sure, but what stops you from just clicking on the variant that you want, then going to the Trades tab, right-clicking and saving the trades by exporting them or printing them?

        Comment


          #5
          Hello misova,

          Thank you for your post.

          I have forwarded your suggestion to our development team.

          Comment


            #6
            Originally posted by koganam View Post
            If you rerun the optimization for each configuration, sure, but what stops you from just clicking on the variant that you want, then going to the Trades tab, right-clicking and saving the trades by exporting them or printing them?
            Oh, understand what you mean now..

            The problem is, that the "clicking on the variant, that I want" takes that long time.
            It is not immediate. It runs a recalculation (something like running backtest again internally),
            during which the whole UI freezes and one has to wait all the time, until the recalculation finishes.

            You can reproduce it easily:
            • 1. Lets have a backtest that takes +- 5 minutes
            • 2. Run an optimization on it, so you have 10 variants finally
            • 3. Click on the Trades tab
            • 4. Try clicking among different variants - each one click cause long-running recalculation

            Comment


              #7
              Originally posted by misova View Post
              Oh, understand what you mean now..

              The problem is, that the "clicking on the variant, that I want" takes that long time.
              It is not immediate. It runs a recalculation (something like running backtest again internally),
              during which the whole UI freezes and one has to wait all the time, until the recalculation finishes.

              You can reproduce it easily:
              • 1. Lets have a backtest that takes +- 5 minutes
              • 2. Run an optimization on it, so you have 10 variants finally
              • 3. Click on the Trades tab
              • 4. Try clicking among different variants - each one click cause long-running recalculation
              Not really. What happens is that all the panels have to be repopulated with the results that have already been calculated and almost certainly cached. If one of the panels that has focus is the Chart panel or one of the more complex equity graphs, this can take a pretty while if the optimization period is very long, or if the optimization parameters have a large field size and/or the strategy uses heavy (resource-wise) indicators. This is especially true when the computer is memory constrained, and so most of the results are being held in virtual memory, rather than main memory. The entire optimization is not rerun.
              Last edited by koganam; 09-24-2014, 01:22 AM.

              Comment


                #8
                Originally posted by koganam View Post
                Not really. What happens is that all the panels have to be repopulated with the results that have already been calculated and almost certainly cached. If one of the panels that has focus is the Chart panel or one of the more complex equity graphs, this can take a pretty while while if the optimization period is very long, or if the optimization parameters have a large field size and/or the strategy uses heavy (resource-wise) indicators. This is especially true when the computer is memory constrained, and so most of the results are being held in virtual memory, rather than main memory. The entire optimization is not rerun.
                Thank you.
                I expect the hardware should not be a problem in my case. Have the latest Intel i7 with 16 GB RAM + SSD.

                Hopefully, it is not fully recalculated, but still - it's hardly usable to wait minutes after click on new variant. It should be somehow COMPLETELY cached, without need for long-running recalculations.

                I would ask, to put it into the NT8 as high-priority improvement, because it
                makes user experience when comparing strategy results extremely uncomfortable.

                After each click on new variant in optimization - the whole UI is frozen for long minutes... (depending on complexity of strategy)

                Comment


                  #9
                  Hello misova,

                  Thank you for your suggestion on how we can improve our product. It has been inserted into our tracking system with the unique ID # SFT-145.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by kevinenergy, 02-17-2023, 12:42 PM
                  116 responses
                  2,757 views
                  1 like
                  Last Post kevinenergy  
                  Started by franatas, 12-04-2023, 03:43 AM
                  7 responses
                  106 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by jpapa, Today, 07:22 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post jpapa
                  by jpapa
                   
                  Started by Jltarrau, Today, 05:57 AM
                  3 responses
                  8 views
                  0 likes
                  Last Post Jltarrau  
                  Started by f.saeidi, Today, 05:56 AM
                  2 responses
                  8 views
                  0 likes
                  Last Post NinjaTrader_Erick  
                  Working...
                  X