Skip to main content

Liquidation Order Subscription

Subscribe to Liquidation Orders

V1

Request Example

{
"SendTopicAction": {
"Action": "1",
"LocalNo": 0,
"TopicID": "30"
}
}
FieldDescription
ActionSubscription operation. 1 = subscribe, 0 = unsubscribe.
LocalNoClient-defined identifier. Unique values allow multiple, independent topics.
TopicIDTopic identifier. 30 = Liquidation order topic.

Response Parameters

FieldDescription
aMessage type, PFO stands for liquidation order.
cChannel indicator.
rPayload array containing table (t) and data (d).
tPayload table name.
ISymbol (e.g., BTCUSDT).
DDirection: 0 = buy, 1 = sell.
PLiquidation price.
VFilled volume.
TDeal timestamp (Unix seconds).

Response Example

{
"a": "PFO",
"c": "b",
"r": [
{
"t": "Order",
"d": {
"I": "BTCUSDT",
"D": "1",
"P": 86339.9,
"V": 11.0,
"T": 1765866172
}
}
]
}

V2

Request Example

{
"Action": "1",
"LocalNo": 0,
"Topic": "liquidationOrder"
}
FieldDescription
ActionSubscription operation. 1 = subscribe, 0 = unsubscribe.
LocalNoClient-defined identifier. Unique values allow multiple, independent topics.
TopicTopic identifier. liquidationOrder = Liquidation order topic.

Response Parameters

FieldDescription
aMessage type, PFO stands for liquidation order.
cChannel indicator.
rPayload array containing table (t) and data (d).
tPayload table name.
ISymbol (e.g., BTCUSDT).
DDirection: 0 = buy, 1 = sell.
PLiquidation price.
VFilled volume.
TDeal timestamp (Unix seconds).

Response Example

{
"a": "PFO",
"c": "b",
"d": [
{
"I": "BTCUSDT",
"D": "1",
"P": 86339.9,
"V": 11.0,
"T": 1765866172
}
]
}