completedOrdersDelta messages whenever new trades are executed:
| Field | Type | Description |
|---|---|---|
data.orders | array | Array of new completed order executions |
data.orders[].executionType | string | Order execution role: “taker” or “maker” |
data.orders[].matchId | string | Unique identifier for the trade match |
data.orders[].orderType | string | Order side: “buy” or “sell” |
data.orders[].price | string | Execution price |
data.orders[].quantity | string | Executed quantity |
data.orders[].updatedAt | number | Unix timestamp (milliseconds) of execution |
data.statusCode | number | HTTP status code indicating success (200) |
resultType | string | Always “completedOrdersDelta” for real-time updates |
Completed Orders Snapshot Request
There is one request available called emitCompletedOrders that returns a list of recent completed orders withcompletedOrders response messages. This request is useful for:
- Initial state hydration when first connecting to the stream
- Recovery after reconnects or connection interruptions
- Verifying historical execution completeness
- Getting recent trade history before processing real-time delta updates
- Reconciling local order state with server state
Request
Response
| Field | Type | Description |
|---|---|---|
data.orders | array | Array of completed order execution details |
data.orders[].executionType | string | Order execution role: “taker” or “maker” |
data.orders[].matchId | string | Unique identifier for the trade match |
data.orders[].orderType | string | Order side: “buy” or “sell” |
data.orders[].price | string | Execution price |
data.orders[].quantity | string | Executed quantity |
data.orders[].updatedAt | number | Unix timestamp (milliseconds) of execution |
data.statusCode | number | HTTP status code indicating success (200) |
resultType | string | Always “completedOrders” for snapshot responses |