Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting Futures Contracts

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

    Backtesting Futures Contracts

    I want to backtest my Future strategy for 2-3 years, but each time i need manually set up ''Start date/End date'' of each contracts.
    I can use Mergenonbackadjusted data, but Start date/ end date need to change of each contracts.
    Is there a way run strategy analyzer for several pre-defined time firames ?

    #2
    Hello,

    Unfortunately there is no way to select or create a time template, as the date range will need to be chosen each time.
    Ryan S.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by Murphy67 View Post
      I want to backtest my Future strategy for 2-3 years, but each time i need manually set up ''Start date/End date'' of each contracts.
      I can use Mergenonbackadjusted data, but Start date/ end date need to change of each contracts.
      Is there a way run strategy analyzer for several pre-defined time firames ?
      My workaround is to add "Rollover" condition and, if you want to backtest swing trading strategies that may run for more than a month, it should be useful to mimic real conditions as much as possible.

      Of course, I told you just the tip of the iceberg, you'd have to code the logic yourself, but if that's what you want, you got a direction.

      Comment


        #4
        Thank you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by JonesJoker, 04-22-2024, 12:23 PM
        6 responses
        32 views
        0 likes
        Last Post JonesJoker  
        Started by GussJ, 03-04-2020, 03:11 PM
        12 responses
        3,239 views
        0 likes
        Last Post Leafcutter  
        Started by AveryFlynn, Today, 04:57 AM
        0 responses
        5 views
        0 likes
        Last Post AveryFlynn  
        Started by RubenCazorla, 08-30-2022, 06:36 AM
        3 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Started by f.saeidi, Yesterday, 12:14 PM
        9 responses
        25 views
        0 likes
        Last Post f.saeidi  
        Working...
        X