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 arvidvanstaey, Today, 02:19 PM
          4 responses
          11 views
          0 likes
          Last Post arvidvanstaey  
          Started by samish18, 04-17-2024, 08:57 AM
          16 responses
          60 views
          0 likes
          Last Post samish18  
          Started by jordanq2, Today, 03:10 PM
          2 responses
          9 views
          0 likes
          Last Post jordanq2  
          Started by traderqz, Today, 12:06 AM
          10 responses
          18 views
          0 likes
          Last Post traderqz  
          Started by algospoke, 04-17-2024, 06:40 PM
          5 responses
          47 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X