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.
gstringLinked Order ID.
sstringSymbol name (e.g., ETH_USDT).
pstringLimit Price.
cstringStop Price.
vstringSize of the order (amount of base currency).
bstringBudget (amount of quote currency).
fstringFilled amount (amount of base currency already matched).
qstringPurchased amount (amount of quote currency already bought/sold).
aint32Order Action
tint32Order Type
eint32Original Order Type
rint32Order Status
ustringUser ID.
wstringCreated time (timestamp in milliseconds).
dstringLast updated time (timestamp in milliseconds).
zstringTrigger time (timestamp in milliseconds).
hint32Trigger Direction

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"
}