Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization spanning more than one futures contract

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

    Optimization spanning more than one futures contract

    Can I run an optimization in Strategy Analyzer that spans a time period over which more than a single futures contract will have been the "current contract", and so that the optimization outputs performance results of the strategy combining whatever was front-month contract at each time (rather than performance results over each front-month contract individually)?

    I hope that makes sense ...
    Last edited by AnotherTrader; 11-16-2012, 10:51 AM.

    #2
    Originally posted by AnotherTrader View Post
    Can I run an optimization in Strategy Analyzer that spans a time period over which more than a single futures contract will have been the "current contract", and so that the optimization outputs performance results of the strategy combining whatever was front-month contract at each time (rather than performance results over each front-month contract individually)?

    I hope that makes sense ...
    Is that what "Aggregated" is for?

    Comment


      #3
      I guess I'm not sure I follow - can you give me an example of what you'd like to do?
      MatthewNinjaTrader Product Management

      Comment


        #4
        Originally posted by NinjaTrader_Matthew View Post
        I guess I'm not sure I follow - can you give me an example of what you'd like to do?
        Sure, no problem.

        I have an intraday custom strategy that trades on the ES and I want to do a 12-month optimization.

        Over these last 12-months, the front month ES contracts were (at different times) ES 12-12, ES 09-12, ES 06-12, ES 03-12, and ES 12-11.

        I have these contracts in a list in the Instrument Manager, and I can run the optimization over the list.

        What I want as a result of the optimization is to find the best set of parameters over the whole 12-months ... not just for say ES 12-12 during the time that it was the front month contract ...

        Is that what setting Aggregate = "true" will give me?

        Or should I add "##-##" to the Instrument list?

        Is that clearer?
        Last edited by AnotherTrader; 11-16-2012, 11:38 AM.

        Comment


          #5
          Originally posted by AnotherTrader View Post
          Can I run an optimization in Strategy Analyzer that spans a time period over which more than a single futures contract will have been the "current contract", and so that the optimization outputs performance results of the strategy combining whatever was front-month contract at each time (rather than performance results over each front-month contract individually)?

          I hope that makes sense ...
          This is done by default ; you specify the current front month but ninja uses the corresponding contract to each date of the test. Assuming you have the defaults ( Merge policy = MergeBackAdjusted )

          Regards,
          Pablo
          pmaglio
          NinjaTrader Ecosystem Vendor - The Indicator Store

          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