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 MacDad, 02-25-2024, 11:48 PM
|
7 responses
157 views
0 likes
|
Last Post Today, 10:23 PM | ||
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
6 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
6 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
Comment