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 johntraderuser2, Today, 02:34 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 02:34 AM | ||
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
12 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
4 views
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
5 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
47 views
0 likes
|
Last Post Today, 12:28 AM |
Comment