I have an efs script running in Esignal that communicates fine with Ninja Trader using the default account input of "" in the command statement.
NTCommand("Place", "", "Sell", Size, "StopLimit", EnterShort.toFixed(2), EnterShort.toFixed(2), "", "", "CurOrderID", "", "");
I am looking to go live, but want to specify the account as I will have 2 accounts running within Ninja, 1 for manual testing and 1 for automated trading.
Assuming the "Sim101" account I am currently testing, I adjusted the code as follows:
NTCommand("Place", "Sim101", "Sell", Size, "StopLimit", EnterShort.toFixed(2), EnterShort.toFixed(2), "", "", "CurOrderID", "", "");
No error is generated or order placed. It hangs on processing......
Please help...
Thanks in advance.
Comment