Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Slow backtest
Collapse
X
-
Slow backtest
I have noticed that my strategy runs quickly in the strategy analyzer for about the first 12-18 months and then moves slowly. A 6 year back test takes about 25 minutes but the first year finishes in about 60 seconds so one would assume a 6 minute back test. I have gone through my code to see if I am storing extra data or collections etc but everything is pretty clean. I am suspecting the performance objects since the strategy places a lot of limits and then cancels them. Could this be it? Any other suggestions?Tags: None
-
problem solved
I found that the issue was with drawing that i was doing on the chart. I have cancelled that and I have gotten the time down from 25 minutes to 1-2 minutes
-
Hello
I am facing the same issue (slow backtesting).
The strategy I have built is using indcators which can plot data and feed data series used by the strategy. Does it mean that if i create dedicated indicator versions with no plot it would then speed up the backtest.
Thanks in adavance
Lionel
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Enkidu, Yesterday, 06:40 AM
|
9 responses
36 views
0 likes
|
Last Post
by Enkidu
Yesterday, 01:11 PM
|
||
Started by kezyclaire, 12-01-2023, 09:37 AM
|
3 responses
151 views
0 likes
|
Last Post Today, 07:03 AM | ||
Started by volIQ, Yesterday, 04:28 PM
|
1 response
13 views
0 likes
|
Last Post Today, 06:55 AM | ||
Started by martini, Yesterday, 04:45 PM
|
1 response
10 views
0 likes
|
Last Post Today, 06:45 AM | ||
Started by proptradingshop, 03-21-2024, 09:50 AM
|
5 responses
26 views
0 likes
|
Last Post Today, 05:17 AM |
Comment