Appendix D: Order State Change Matrices

D13 – One cancel/replace request is issued which is accepted — another one is issued which is also accepted

Time Message Received (ClOrdID, OrigClOrdID) Message Sent (ClOrdID, OrigClOrdID) Exec Type OrdStatus Exec Trans Type Order Qty Cum Qty Leaves Qty Last Shares Comment
1 New Order(X) 10000
2 Execution(X) Rejected Rejected New 10000 0 0 0 If order is rejected by broker
2 Execution(X) New New New 10000 0 10000 0
3 Execution(X) Partial Fill Partially Filled New 10000 1000 9000 1000 Execution for 1000
4 Replace Request(Y,X) 8000 Request decrease in order quantity to 8000, leaving 7000 open
5 Execution (Y,X) Pending Replace Pending Replace New 10000 1000 9000 0 "Pending replace" order status takes precedence over "partially filled" order status
6 Execution(X) Partial Fill Pending Replace New 10000 1500 8500 500 Execution for 500
7 Execution (Y,X) Replace Partially Filled New 8000 1500 6500 0 "Partially filled" order status takes precedence over "replaced" order status
8 Execution (Y) Partial Fill Partially Filled New 8000 3500 4500 2000 Execution for 2000
9 Replace Request(Z,Y) 6000 Request decrease in order quantity to 6000, leaving 2500 open
10 Execution (Z,Y) Pending Replace Pending Replace New 8000 3500 4500 0
11 Execution (Z,Y) Replace Partially Filled New 6000 3500 2500 0 "Partially filled" order status takes precedence over "replaced" order status
12 Execution(Z) Fill Filled New 6000 6000 0 2500 Execution for 2500

Back to Appendix D: Order State Change Matrices