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 DannyP96, 05-18-2026, 02:38 PM
|
1 response
26 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
115 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
412 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment