Why is that? Can this be sped up somehow?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Compile speeds slow
Collapse
X
-
Compile speeds slow
If I don't have a Strategy Analyzer window open, compiling a strategy goes pretty fast. However, when I have the Strat Analyzer window open (practically always), it can take 30 seconds or more to compile.
Why is that? Can this be sped up somehow?Tags: None
-
Hello lookOutBelow,
Please be aware that all NinjaScript files will be compiled if you compile a strategy or indicator.
I tested it on my end with and without a Strategy Analyzer, but I did not experience a difference. Both attempts finished after about 7 seconds. Please note that I did not have any 3rd party indicators present and about 30 custom indicators from our forum.
Do you always notice a difference? Could it be the Strategy Analyzer is running a backtest or optimization when you compile your NinjaScript files? When I compiled my NinjaScript files while running a backtest, it took a little more time (8 - 9 seconds)
If the issue remains, I suggest to close any Strategy Analyzer window upon compiling your NinjaScript files. I see no other way to speed up the process.JasonNinjaTrader Customer Service
-
No, I'm not running any backtests while compiling. And yes, there is always a noticeable difference when it is open and when it is not.
I compile so often, it is a pain to close/reopen the Analyzer window. Perhaps I'll go through and delete any indicators/strategies that I'm not currently using.
Comment
-
Those are similar to my results too.
Very frustrating when you are trying to make a quick change and then run the results.
Comment
-
Comment
-
Unfortunately I still do not notice such a difference on my end. Could you please tell me what exact steps you perform when you notice the difference. I compile my NinjaScript files by opening an indicator via Control Center-->Tools-->Edit NinjaScript-->Indicator. Subsequently I hit F5 to compile all NinjaScript files while I have a Strategy Analyzer window opened.JasonNinjaTrader Customer Service
Comment
-
Today I notice that anytime I open a strategy analyzer (ie Just 1 open) NT locks up for 20-30 seconds before it works.
As for your orignal question. I am using the strategy builder (ie locked code) clicking next when completed. If SA is open in backround then it will take 20-30 secs. to compile. If I remove SA from backround then it compiles quickly 3 secs. However when I reopen SA It locks up like I just mentioned in my first sentence.
Comment
-
-
Hi Jason,
Just so you know, this has only recently become an issue. NT6.5 I know I had >200 strategies. And for NT 7 I have steadly increased as I have migrated over, so NT7 had been compiling with/without SA for many months(4-5) up unitl now and with >150 strategies . Hopefully this helps.
Comment
-
Nothing has been imported in many months, anything added during that time period has been newly created within the platform.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by funk10101, Today, 09:43 PM
|
0 responses
3 views
0 likes
|
Last Post
by funk10101
Today, 09:43 PM
|
||
Started by pkefal, 04-11-2024, 07:39 AM
|
11 responses
36 views
0 likes
|
Last Post
by jeronymite
Today, 09:37 PM
|
||
Started by bill2023, Yesterday, 08:51 AM
|
8 responses
44 views
0 likes
|
Last Post
by bill2023
Today, 09:27 PM
|
||
Started by yertle, Today, 08:38 AM
|
6 responses
26 views
0 likes
|
Last Post
by ryjoga
Today, 09:17 PM
|
||
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
24 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
Comment