I have an interesting one here.
I am attaching below the Unmanaged mock strategy which recreates the error for me, here is an explanation of the logic and how it should work:
1. At 9:29 every day it submits two stoplimit orders above and below price on an oco
2. Once filled it creates a target and stop OCO
3. Also creates a 3rd order that is placed at the same spot as the stop called a "Reverse" Order that will execute an entry to the opposite direction
4. If it hits the Target then it should cancel everything and wait for next entry (Which would be the next day)
5. If it hits stop then it will obviously fill the other entry order as well and then setup its own stops associated with that entry and stop trading after that trade until next entry (Next day)
What is happening though is when the Profit Target is hit, it will cancel everything and then randomly go back and re-enter the Reverse order for no reason.
I put print statements through out, the Reverse Order that is being submitted is hidden behind 2 separate if statements. Neither of those if statements are true when this happens nor do they execute (I have print statements that print as soon as they are true (Just under the if statement). But it will randomly pickout this order submission and submit it again way out of order.
Lot of stuff here so let me know what else you need from me. Script should be able to recreate. For me happened both directions, obviously the trade needs to hit the profit target in order to execute.
Thanks!
File is called ForumTestStrategy

Comment