Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing optimiser result

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

    Accessing optimiser result

    Hello

    To help optimising strategies I have build custom strategy script that export data into a database. Many data are exported, each run (1 minute 3 years) takes 1 hour.

    I am know trying to use the optimiser to batch several runs in one go at night and access the results the day after.

    I doesn't work because each backtest is identified by a "run number" in my export procedure calculated in the on start event. I have the feeling that Ninja is optimizing the backtest by launching has many clones of the strategy as they are values to be optimised, which is nice (Event On start occurs several time before the first generation of the on bar up date event)

    Question 1 at trade generation is there a way to identify the run of the optimiser against which the trade is generated

    Question 2 the optimisation generate a list of trades and strategy performance value, associated to a given set of parameters how can we access this data ?
    which event occur after termination of the optimisation run (on termination ?)

    Many thanks for your reply

    Lionel

    #2
    Hi Lionel, we could unfortunately not support accessing the optimizer results programmatically (OnTermination the last state you could code against).

    You're correct though on the multitude of strategy instances used in the process.

    Comment


      #3
      Hello

      first of all thanks for the reply.

      I have placed the code which export strategy data in the on termination event. It works almost OK. : one optimiser strategy record is duplicated and another is missing;

      I ve seen that you are not offering support to optimizer data access but do you have any hints about that (must be a selection criteria on the trade performance collection)

      Lionel

      Comment


        #4
        Sorry Lionel, would unfortunately not have a hint to share here in that area.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        65 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        23 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        26 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        52 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X