Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Backtest on MNQ is exceptionally slow compared to others?
Collapse
X
-
Backtest on MNQ is exceptionally slow compared to others?
I just ran a 6 month backtest on MGC with consistent pacing (printouts every week). Trying this on MNQ slows to a crawl. I expect MNQ will have more trades, but when its all grouped into bar series (execute on bar close) why is it taking forever? Is there an optimization to make?Tags: None
-
Hello Skifree,
The backtest could differ for a variety of reasons depending on what your strategy is doing. If there was a substantial amount of trades difference that could be one reason if there was more to process.
As a test try the SampleMaCrossOver using the same time range and whatever other settings you may have edited. Do the tests still take longer or is it similar?
-
its really difficult to compare something featherweight to something complex. But the point remains that with all the same parameters, MNQ is incredibly slow. I know it has more volume than many other signals, how does that impact something like a tick series (20,000 ticks per bar)? Is there a backend process that might be doing aggregation of ticks and i'm seeing the impact?
Comment
-
Hello Skifree,
As I have no details on what your strategy does testing something which we have the source for and know how it works would be the best way to check if something is happening with the platform. That eliminates any custom code that may be not working efficiently.
In regard to volume, if you are using a tick based chart and an instrument has much more volume/ticks than another that will result in a longer test. The more data that needs processed will result in a longer test. That will create more bars for a period of time by having more ticks so there is more for the script to process compared to the other instrument with less ticks/bars.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
71 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
25 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
28 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
56 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment