Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimizer iteration result insertion & extraction

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

    Optimizer iteration result insertion & extraction

    When optimizing, I need to know the result of every iteration just when it's executed, to export it to another app, and where it is added to the optimization results to add new ones. The final result, when the optimization is finished, is unusefull for me. Is there a way to make it? I've implemented my own optimizer, and I noticed a mehod, RunIteration, where it could be done, but to overload it (if possible) I would need to know its code. If this is not a possibility, could someone tell me how I could achieve it?

    #2
    jjmmg, this is unfortunately not supported, but you can create your own optimizer type where you store your iteration performance under RunIterationCompleted() / Iterate().
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Bertrand, thanks for your prompt reply. I am creating my own optimization method, but I can't see anything about RunIterationCompleted method. I've search at http://www.ninjatrader-support.com/H....html?Overview, google, and different forums, but nothing about it.

      It seems like it's exactly what I need. Where can I find a description of that method, or sample code, to look how and what kind of data is stored?

      Correction: I've seen an "IterationCompleted" callback method in GeneticOptimizer. I guess it's what you meant, and what I need. I'll follow that way. Thanks.
      Last edited by jjmmg; 02-04-2011, 02:55 AM. Reason: Adding a correction to not overcharge NT support.

      Comment


        #4
        You're welcome and correct, that's what I thought you would need to look into.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          After having a look at it, I realized that this is the way to get the iteration performance to do whatever you want with it, but it's not what I meant. I suppose that NT stores the performance for the specific parameters set, and then passes it to the user through the callback method. Is there a way to acces to this performance before NT stores it, so I can modify it?

          Comment


            #6
            Unfortunately I'm not aware of a way to access this info before it's passed over.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              And what about overloading RunIteration method, where I suppose it's done? Is there any unsupported documentation about the implementation of this method? Once this is done we could achieve the improvement we want to add, many computers running blocks of the same optimization. Doen't it sound interesting?

              Comment


                #8
                Jim, I agree it sounds like an interesting project, but unfortunately I would not have further info available.
                BertrandNinjaTrader Customer Service

                Comment


                  #9
                  jjmmg,

                  It occurs to me that the problem you are trying to solve might be something the programmers of the GO 's used in NT might be able to give some feedback to assist?!

                  Jon

                  Comment


                    #10
                    Has there been any progress on this?

                    I am also interested in creating an external module for parallel backtesting.

                    Comment


                      #11
                      Hello nikolaalx,

                      I am not aware of any implementation of this, but I will follow up with development on this.

                      Comment


                        #12
                        Hello nikolaalx,

                        Thank you for your patience.

                        There is no word on if or when this would be implemented.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by xiinteractive, 04-09-2024, 08:08 AM
                        5 responses
                        13 views
                        0 likes
                        Last Post NinjaTrader_Erick  
                        Started by swestendorf, Today, 11:14 AM
                        2 responses
                        6 views
                        0 likes
                        Last Post NinjaTrader_Kimberly  
                        Started by Mupulen, Today, 11:26 AM
                        0 responses
                        5 views
                        0 likes
                        Last Post Mupulen
                        by Mupulen
                         
                        Started by Sparkyboy, Today, 10:57 AM
                        1 response
                        6 views
                        0 likes
                        Last Post NinjaTrader_Jesse  
                        Started by TheMarlin801, 10-13-2020, 01:40 AM
                        21 responses
                        3,918 views
                        0 likes
                        Last Post Bidder
                        by Bidder
                         
                        Working...
                        X