Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automate backtests with different parameters

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

    Automate backtests with different parameters

    How can I programatically run a set of backtest with different date ranges? For example, let's say I want to backtest a strat for multiple 3 month From - To date ranges, like 1/1 - 4/1, then 1/8-4/8, then 1/15-4/15, etc, without having to run 3 separate backtests and manually changing the date ranges? I want to test lots of date ranges and store the results without having to manually change the date ranges all of the time. I'm not talking about strategy parameters, but I'm talking about the "From" and "To" fields in the backtest screen.
    Last edited by shodson; 05-24-2013, 06:25 PM.

    #2
    Hello Shodson,

    You would not be able to programmatically set the From and To fields inside of the Backetst Parameters window.

    You may set a Date filter inside of your strategy to limit the dates that you would like it to trade on. A close example of this would be our Time Filter reference at the following link.


    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    85 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X