This stream provides real-time trade updates for your account across all markets regardless of which market you subscribed to. Upon subscription to this stream, you will receiveDocumentation Index
Fetch the complete documentation index at: https://docs.rails.xyz/llms.txt
Use this file to discover all available pages before exploring further.
completedOrdersDelta messages whenever new trades are executed:
| Field | Type | Required | Description |
|---|---|---|---|
resultType | string | Yes | completedOrdersDelta |
data | array | Yes | Batch of completed order entries |
data[].market | string | Yes | Market name |
data[].orderId | string | Yes | Unique identifier of the order |
data[].matchId | string | Yes | Unique identifier for the trade match |
data[].orderType | string | Yes | Order side: buy or sell |
data[].tradeType | string | Yes | Order type: limit or market |
data[].executionType | string | Yes | Order execution role: taker or maker |
data[].fillType | string | Yes | Fill type: partial or complete |
data[].price | string | Yes | Execution price |
data[].quantity | string | Yes | Execution quantity |
data[].leverage | string | Yes | Leverage at time of execution |
data[].fees | string | Yes | Fees charged for the trade |
data[].orderCreatedAt | number | Yes | Order creation timestamp (milliseconds since epoch) |
data[].orderFilledAt | number | Yes | Order fill timestamp (milliseconds since epoch) |
data[].triggerType | string | Yes | Trigger type for the order: none, take_profit, stop_loss or liquidation |
data[].triggerPrice | string | Yes | Trigger price for the order |
data[].triggerCreatedAt | number | Yes | Trigger creation timestamp (milliseconds since epoch) |