Skip to main content

Order Updates (Private)

Automatically subscribed after successful authentication, pushes user futures order status changes.

  • Channel: order
  • Push Frequency: Real-time, unthrottled
  • Access: Private (auth required)

Authentication

Use the standard HmacSHA256 WebSocket login request described in Common Module · WebSocket Interface.

After successful authentication, order, balance, and position are subscribed automatically.

Push Example

{
"ch": "order",
"d": {
"e": "order",
"i": "1234567890",
"c": "",
"s": "BTC_USDT",
"S": 1,
"T": 1,
"p": "49000",
"q": "0.1",
"Q": "",
"z": "0.1",
"Z": "4900",
"o": 2,
"f": "4.9",
"F": "USDT",
"C": 1768205315166,
"u": 1768205315166
}
}

Push Fields

FieldTypeDescription
estringEvent type, fixed as "order"
istringOrder ID
cstringClient order ID (optional)
sstringTrading pair
SnumberSide: 1=buy, 2=sell
TnumberType: 1=limit, 2=market buy, 3=market sell
pstringOrder price
qstringOrder quantity
QstringOrder amount (used for market buy)
zstringFilled quantity
ZstringFilled amount
onumberStatus: 1=new, 2=partially filled, 3=filled, 4=canceled
fstringAccumulated fee
FstringFee asset
CnumberCreation time (milliseconds)
unumberUpdate time (milliseconds)