private readonly string accountName = "Foo Bar";
There are no errors during compile but the indicator is not in fact recognizing that as a valid account name.
Using this to designate the sim account works flawlessly:
private readonly string accountName = "Sim101";
So the issue is the whitespace. I've tried every combination of escapes and unicode characters I can find and consulted C# documentation extensively, nothing seems to be taking.
Both examples compile without issues in the NinjaScript editor, but only the Sim101 actually works.
Note that I've tried this on another production account without a whitespace in the name on a different NinaTrader deployment and it works, so its really quite clear at this point that the only issue is the whitespace.
Thoughts?
Comment