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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X