a main problem here is that some think there is a determinant sequence of events. There isn't. You place an order at a price you think the market is at. Maybe you get a partial fill. Then you try to cancel. Get a partial fill. Get a too late to cancel. Get market updates. Compute signals. etc...