Skip to main content

Order

When connected to the user data stream via Socket.IO, the system automatically streams order updates whenever changes occur.


Message Structure

Fields

FieldTypeDescription
etint32Event type (4 for order updates).
ostringOrder ID.
sstringSymbol name (e.g., ETH_USDT).
pstringPrice of the order.
vstringSize (amount of base currency).
bstringBudget (amount of quote currency). Nullable.
fstringFilled (amount of base currency already matched). Nullable.
qstringPurchased (amount of quote currency already bought/sold). Nullable.
aint32Order Action.
tint32Order Type.
rint32Order Status.
ustringUser ID.
wstringCreated time (timestamp in milliseconds).
dstringLast updated time (timestamp in milliseconds).

Example Message

{
"et": 4,
"o": "7217339258215330666",
"s": "ETH_USDT",
"p": "1.0000000",
"v": "0.170",
"b": null,
"f": null,
"q": null,
"a": 1,
"t": 0,
"r": 0,
"u": "1",
"w": "1720747770838",
"d": "1720747770838"
}