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 benmarkal, Yesterday, 12:52 PM
|
3 responses
23 views
0 likes
|
Last Post Today, 05:22 AM | ||
Started by helpwanted, Today, 03:06 AM
|
1 response
18 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
11 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
7 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
244 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
Comment