Order Filled Notifications
When an order is filled, the server will send a message to the client with the order details via the websocket connection. The speficic message type depends on whether it’s a full or partial fill. Refer to the provided examples for more details.
Note that in the order
object, quantity
represents the remaining quantity and filledQuantity
represents the cumulative filled quantity.
The two values will add up to the original order quantity.
URL
This stream can be subscribed per market and you will need to pass in the market in the URL query. See below.
Query params
Example value: ETH-USD
. To get all supported markets, call /api/v1/markets endpoint.
Headers
See Authorization section on how to retrieve authorization token. Once token is received, set Sec-WebSocket-Protocol
headers in the WebSocket handshake request or on connect()
.
Example value (authorization token) :