Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
B8 export fails with more than a couple of files, crashes NT
Collapse
X
-
@NinjaTrader_ShawnB ... any news on this one? was the additional able to uncover anything new for you?
-
sadly that exception didn't end up in the trace.Attached Files
Comment
-
Hello RanchoDinero,
Just to clarify, does this only occur when you are attempting to export an assembly with your script contained within it or does it also occur when you attempt to export only the default indicators/strategies included with NinjaTrader 8 as well?Zachary G.NinjaTrader Customer Service
Comment
-
exporting several system indicators works as expected. seems that uses a different code path? curious to know what's different when those are exported compared to exporting other code.
Comment
-
-
Astonishingly, and completely by accident, I found the cause. One of my files had a space character before the 'namespace' keyword. This is the cause of the crash.
You can repro the issue with this script, attached.
Notice that this one space also prevents NT from auto-generating the needed glue code for the indicator. Which is kind of nuts... this is perfectly valid code otherwise. At least the C# compiler thinks so.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by brunoviveiros, 02-17-2020, 05:31 AM
|
4 responses
63 views
0 likes
|
Last Post Today, 06:25 AM | ||
Started by volIQ, 03-27-2024, 04:28 PM
|
3 responses
21 views
0 likes
|
Last Post
by RJay
Today, 05:41 AM
|
||
Started by Nickgiaco, 02-26-2024, 10:23 AM
|
2 responses
72 views
0 likes
|
Last Post Today, 05:12 AM | ||
Started by Johndc, Today, 04:39 AM
|
0 responses
8 views
0 likes
|
Last Post
by Johndc
Today, 04:39 AM
|
||
Started by johntraderuser2, Today, 02:34 AM
|
0 responses
11 views
0 likes
|
Last Post Today, 02:34 AM |
Comment