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 techgetgame, Yesterday, 11:42 PM
          0 responses
          8 views
          0 likes
          Last Post techgetgame  
          Started by sephichapdson, Yesterday, 11:36 PM
          0 responses
          2 views
          0 likes
          Last Post sephichapdson  
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,613 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Yesterday, 05:56 PM
          0 responses
          10 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          20 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Working...
          X