I have a strategy I wrote which uses the unmanaged order method to open and close positions.
Today using Tradovate and Apex Trader Funding my strategy exited a long position using a market order but executed the exit order 30 times!! That left me net short 30 mini contracts for a second or two.
Any idea why this would happen and how to prevent it?

Comment