We've been having an issue with sometimes an order not getting cancelled and staying live.
little summary of our setup :
NT6.5 (latest version)
IB TWS 900 Desktop (as recommended)
Basically, the strategy MPO is Long , we have an order sent at every bar to buy at a certain price, and another order to close position at another price.
I've put some logging so that i can see when my strat sends that buy order. It sends it correctly at every bar while the MPO is Long.
The close position is reached, MPO becomes flat, my buy order is no longer sent by my strat, and yet 3hrs after that close position, the order is still live in IB and visible in the Control Center.
IF i disable the strat, the order gets cancelled.
My order is using liveUntilCancelled false.
Would there be any reason why an order would not get cancelled by Ninja if it's not renewed at the next bar by the strat ?
Everything is working fine EXCEPT for that particular type of order.
All my stops and trails and target orders get cancelled, and most of the time my "enter" order gets cancelled too..
But sometimes it doesn't .
This morning it happened on AUDUSD, on two different machines ...
please advice
Comment