I already realize the simple answer is to track the position size. But for the strategy I have in mind, this will likely lead to overly complex code.
If there's no simple way, what's the best non-simple way that will make the code aware an order has executed as soon as possible afterward (if possible, without just waiting for the next tick and checking position size)?
Comment