Messages
{
"type": "<string>",
"sid": 123,
"msg": {
"trade_id": "<string>",
"order_id": "<string>",
"client_order_id": "<string>",
"market_ticker": "<string>",
"is_taker": true,
"side": "<string>",
"ts_ms": 123,
"price": "<string>",
"count": "<string>",
"fee_cost": "<string>",
"post_position": "<string>",
"subaccount": 123,
"order_source": "<string>"
},
"sending_ts_ms": 123
}WebSockets
User Fills
Private fill notifications for the authenticated user on the margin exchange.
Requirements:
- authenticated connection
- market specification optional via
market_tickerormarket_tickers - supports
update_subscriptionwithadd_marketsanddelete_markets
WSS
fill
Messages
{
"type": "<string>",
"sid": 123,
"msg": {
"trade_id": "<string>",
"order_id": "<string>",
"client_order_id": "<string>",
"market_ticker": "<string>",
"is_taker": true,
"side": "<string>",
"ts_ms": 123,
"price": "<string>",
"count": "<string>",
"fee_cost": "<string>",
"post_position": "<string>",
"subaccount": 123,
"order_source": "<string>"
},
"sending_ts_ms": 123
}apiKey
type:apiKey
API key authentication required for margin WebSocket connections.
Fill Update
type:object
Private margin fill information for the authenticated user