Every time this happens I have to restart Ninjatrader.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Freeze during optimization.
Collapse
X
-
Freeze during optimization.
Many times when I run the optimizer, Ninjatrader freezes up and goes into "Not Responding" mode. A lot of times I am not even asking it to optimize very many parameters. This happens even when the time window is set to something small like 1 month. While frozen, memory usage shoots up to ~6 GB.
Every time this happens I have to restart Ninjatrader.Tags: None
-
It seems to keep becoming more susceptible to crashing the more runs I do, even after restarting the program.
If it helps any, I just crunched the numbers for one instance of the optimizer crashing, and it came out to 1,716 possible combinations of values that it had to test for. I don't know, this might be on the high side of what the optimizer is capable of, but I didn't think it was.
Comment
-
Hello isaiahb07,
Here is a list of things that can cause the Strategy Optimizer to run slowly
- It is possible for the Strategy Optimizer to download data from the internet. To prevent this, either
- Uncheck NinjaTrader Control Center -> Tools -> Options -> Data -> Get Data From Server (if available)
- Disconnect from your data provider
- Charts, especially with strategies or indicators running, especially with CalculateOnBarClose set to "false" or a lot of logging and printing
- Debugging can slow down Ninja. To turn this off, right-click in a NinjaScript Editor window and uncheck "Debugging".
- Ensure only one workspace is running at a time.
I would also recommend reviewing all the settings here,
If none of the above is helping, if you could provide a list containing the data type of every variable parameter (bool, int, double, enum, etc.) it will enable us to better assist you.Jessica P.NinjaTrader Customer Service
Comment
- It is possible for the Strategy Optimizer to download data from the internet. To prevent this, either
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DanielTynera, Today, 01:14 AM
|
0 responses
2 views
0 likes
|
Last Post
by DanielTynera
Today, 01:14 AM
|
||
Started by yertle, 04-18-2024, 08:38 AM
|
9 responses
40 views
0 likes
|
Last Post
by yertle
Today, 01:00 AM
|
||
Started by techgetgame, Yesterday, 11:42 PM
|
0 responses
9 views
0 likes
|
Last Post
by techgetgame
Yesterday, 11:42 PM
|
||
Started by sephichapdson, Yesterday, 11:36 PM
|
0 responses
2 views
0 likes
|
Last Post Yesterday, 11:36 PM | ||
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,615 views
0 likes
|
Last Post
by aligator
Yesterday, 07:22 PM
|
Comment