I am currently exiting with stop orders, I'd like to change this to a stop limit with a safety that if a tick price comes through past my limit price, then it will submit a market order.
I need to know where the absolute fastest place to put the code for this price check is, without running into order fill conflicts. I don't want the order to be getting filled, and have my strategy submit a market order because a tick came through before the strategy could know the stop limit was filled.
Thanks,

Comment