I am using eSignal EFS + NT DLL to trade three IB accounts at the same time. If I buy one contracts in each account with stop loss and profit target orders attached as an OCO group for each account position respectively, when I use something like
function closeAllPositionsInMyIBAccounts()
{
NTClosePosition(account1);
NTClosePosition(account2);
NTClosePosition(account3);
}
to close all positions in three accounts and the related OCO orders, although NT is able to close all positions and cancel all orders without problem, however in almost every test, it pops out two message windows saying ""Can't find order with id = xx blah blah blah" and the corresponding order is shown as "Rejected Can't find order with id = xxx (yyy)", which seems been caused by the same problem as that in http://www.ninjatrader-support.com/v...ead.php?t=7909
The rejected oder only belongs to account2 and account3.
I believe something is wrong in the NT DLL implementation and this kind of error message window is very distracting and annoying.
- Clearpicks
Comment