Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Automate backtests with different parameters
Collapse
X
-
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.Tags: None
-
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
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
71 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment