Lately I've been having a problem with rejected orders, because Ninja put another order automatically and not associated with any strategy.. This is causing the strategy goes to short or long.
Here we can see what happens with USO, explained low to high:
1. The strategy attempts to close, but the order was rejected.
2. Ninja realized the same operation externally, and put the order to market.
3. The strategy doesn't know the order executed externally therefore executed the order that couldn't completed (the rejected).
By this step Ninja already realized two sell orders, causing the strategy goes short.
4. The position was closed manually.
Why this is happening? Ninja has a function that put automatically a new order when this was rejected? If it's the case how can I deactivated it?
We already have a reorder logic, and this sells or buys to market caused by Ninja its causing problems.
Thanks, and I hope you can help me.

Comment