Skip to main content
This stream provides real-time trade updates for a specified market. Upon subscription to this stream, you will receive completedOrdersDelta messages whenever new trades are executed:
{
    "data": {
        "orders": [
            {
                "executionType": "taker",
                "matchId": "9eb783a6-7abc-4e94-9d9c-fd404e7580eb",
                "orderType": "buy",
                "price": "3181.41",
                "quantity": "0.01",
                "updatedAt": 1767762810250
            },
            {
                "executionType": "maker",
                "matchId": "d65966ab-109c-491f-bb55-a6ccd0453153",
                "orderType": "sell",
                "price": "3181.42",
                "quantity": "0.02",
                "updatedAt": 1767762904115
            }
        ],
        "statusCode": 200
    },
    "resultType": "completedOrdersDelta"
}
FieldTypeDescription
data.ordersarrayArray of new completed order executions
data.orders[].executionTypestringOrder execution role: “taker” or “maker”
data.orders[].matchIdstringUnique identifier for the trade match
data.orders[].orderTypestringOrder side: “buy” or “sell”
data.orders[].pricestringExecution price
data.orders[].quantitystringExecuted quantity
data.orders[].updatedAtnumberUnix timestamp (milliseconds) of execution
data.statusCodenumberHTTP status code indicating success (200)
resultTypestringAlways “completedOrdersDelta” for real-time updates

Completed Orders Snapshot Request

There is one request available called emitCompletedOrders that returns a list of recent completed orders with completedOrders 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

{
  "message":"emitCompletedOrders"
}

Response

{
    "data": {
        "orders": [
            {
                "executionType": "taker",
                "matchId": "d65966ab-109c-491f-bb55-a6ccd0453153",
                "orderType": "buy",
                "price": "3181.41",
                "quantity": "0.01",
                "updatedAt": 1767762904115
            },
            {
                "executionType": "maker",
                "matchId": "9eb783a6-7abc-4e94-9d9c-fd404e7580eb",
                "orderType": "sell",
                "price": "3181.42",
                "quantity": "0.02",
                "updatedAt": 1767762810250
            }
        ],
        "statusCode": 200
    },
    "resultType": "completedOrders"
}
FieldTypeDescription
data.ordersarrayArray of completed order execution details
data.orders[].executionTypestringOrder execution role: “taker” or “maker”
data.orders[].matchIdstringUnique identifier for the trade match
data.orders[].orderTypestringOrder side: “buy” or “sell”
data.orders[].pricestringExecution price
data.orders[].quantitystringExecuted quantity
data.orders[].updatedAtnumberUnix timestamp (milliseconds) of execution
data.statusCodenumberHTTP status code indicating success (200)
resultTypestringAlways “completedOrders” for snapshot responses