Execution
These pages cover fills, partial fills, and cancels of partially filled orders. The execution model applies equally to both the Equity Style Order and Fixed Income Style Quote models — from this point on, OpenYield treats limit orders and quotes identically. Where ClOrdID (11) is referenced, quote-based subscribers will see their QuoteID (117).
There is no separate "order complete" message: the last fill (or the cancel of a partially filled order) is the final message for an order.
| Scenario | ExecType (150) | OrdStatus (39) | Notes |
|---|---|---|---|
| Partial Fill | F (Trade) | 1 (Partially Filled) | >LeavesQty (151) 0; the order remains active. |
| Complete Fill | F (Trade) | 2 (Filled) | LeavesQty (151) = 0, CumQty (14) = OrderQty (38). |
| Partially Filled Order Canceled | 4 (Canceled) | 4 (Canceled) | >CumQty (14) 0 shows the order was partly filled. |
| Fill Cancel (post-trade bust) | H (Trade Cancel) | B (Calculated) | LeavesQty (151) forced to 0. |
| Fill Correction (post-trade) | G (Trade Correct) | B (Calculated) | LeavesQty (151) forced to 0. |