Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Request: get object from IterationCompleted

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

    Request: get object from IterationCompleted

    It would be great to have an implementation of IterationCompleted that you could get an object from rather then just a double.

    Rarely is a single performance measure is adequate in evaluating a system and the current implementation of IterationCompleted limits an optimization method to knowing only a single statistic.

    Additionally if you could get an object out of an iteration it would grant a large degree of customizability and an efficient means to do things like syncronized file writing across threads etc.

    UserLink is already in Strategy and can be used to set an accessable object, an optimization callback function like IterationCompleted that returns the Strategy UserLink would do the trick I think.

    #2
    Hello,

    Just so that I understand fully in my communication with developement.

    You're referencing unsupport NinjaScript fuinctions that your using to customize results for BackTest and Optimize output?

    I look forward to assisting you further.

    Comment


      #3
      IterationCompleted is the delegate that strategies use to communicate with optimizers.

      It gets a double, if there was an implementation that got an object it would be much better.

      IterationCompleted is the means of communication that the GO optimizer uses.

      I thought ability to create one's own otimization routine was a supported NT feature?

      Comment


        #4
        Hello,

        You are able to do this however it is not officially supported NinjaScript. This is something that we have added in for very advanced users.

        I will forward the suggestion.

        Thanks You.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Christopher Leggit, 02-15-2024, 09:00 AM
        3 responses
        45 views
        0 likes
        Last Post rdtdale
        by rdtdale
         
        Started by DavidHP, Today, 07:56 AM
        0 responses
        2 views
        0 likes
        Last Post DavidHP
        by DavidHP
         
        Started by Aviram Y, 08-09-2023, 09:04 AM
        11 responses
        299 views
        0 likes
        Last Post arjandezeeuw  
        Started by jpapa, Today, 07:22 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by kevinenergy, 02-17-2023, 12:42 PM
        116 responses
        2,760 views
        1 like
        Last Post kevinenergy  
        Working...
        X