| Time | Message Received (ClOrdID, OrigClOrdID) | Message Sent (ClOrdID, OrigClOrdID) | Exec Type | OrdStatus | Order Qty | Cum Qty | Leaves Qty | Last Qty | Comment |
|---|---|---|---|---|---|---|---|---|---|
| 1 | New Order(X) | 10000 | |||||||
| 2 | Execution(X) | Rejected | Rejected | 10000 | 0 | 0 | 0 | If order is rejected by sell-side (broker, exchange, ECN) | |
| 2 | Execution(X) | New | New | 10000 | 0 | 10000 | 0 | ||
| 3 | Replace Request(Y,X) | 7000 | Client wishes to amend order qty to 7000 | ||||||
| 3 | Execution(X) | Trade | Partially Filled | 10000 | 7000 | 3000 | 7000 | Execution for 7000 – the replace message and this execution report pass each other on the connection | |
| 4 | Execution (Y,X) | Replace | Filled | 7000 | 7000 | 0 | 0 | The replace request is interpreted as requiring the balance of the order to be canceled – the "filled" order status takes precedence over "canceled". |