Order Lifecycle
verifiedState-machine record of an order from creation through terminal state.
Verification note
Verified against FIX 5.0 SP2 ExecutionReport adapter and Velocity stream.
Example payload
Realistic wire-shaped payload a conforming producer would emit. Validates against the schema above.
{
"order_id": "rt_ord_9a1c",
"broker_order_id": "VC-88123",
"symbol": "AAPL 260918C00235000",
"events": [
{
"state": "NEW",
"at": "2026-07-21T14:29:55Z"
},
{
"state": "ROUTED",
"at": "2026-07-21T14:29:56Z"
},
{
"state": "PARTIAL",
"at": "2026-07-21T14:30:01Z",
"filled_qty": 2,
"avg_price": 4.72
},
{
"state": "FILLED",
"at": "2026-07-21T14:30:03Z",
"filled_qty": 5,
"avg_price": 4.73
}
]
}JSON Schema
draft/2020-12{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rebeltrade.com/options-schema/v0.1/executions/order.lifecycle.json",
"type": "object",
"required": [
"order_id",
"events"
],
"properties": {
"order_id": {
"type": "string"
},
"broker_order_id": {
"type": "string"
},
"symbol": {
"type": "string"
},
"events": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"state",
"at"
],
"properties": {
"state": {
"enum": [
"NEW",
"ROUTED",
"PARTIAL",
"FILLED",
"CANCELLED",
"REJECTED",
"ASSIGNED",
"EXPIRED"
]
},
"at": {
"$ref": "https://rebeltrade.com/options-schema/v0.1/types/Timestamp.json"
},
"filled_qty": {
"type": "integer",
"minimum": 0
},
"avg_price": {
"type": "number"
},
"reason": {
"type": "string"
}
}
}
}
}
}