Skip to main content

Get Unfilled Stop Order

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.
Dangerous
  • After an order without any transactions is canceled, the server will not save the order, nor can the data of this order be queried via any endpoint.

HTTP request

GET /futures/pending-stop-order

Request parameters

Parameter NameRequiredTypeNotes
marketfalsestringMarket name
market_typetruestringMarket type.
Note: In spot related functions, only SPOT or MARGIN can be used.
In futures related functions, only FUTURES can be used.
sidefalsestringOrder side
client_idfalsestringUser-defined ID
pagefalseintNumber of pagination. Default is 1.
limitfalseintNumber in each page. Default is 10.

Return parameters

Parameter NameTypeNotes
stop_idstringStop order ID
marketstringMarket name
market_typestringMarket Type
sidestringOrder side
typestringOrder type
amountstringOrder amount
client_idstringClient ID
pricestringOrder price
trigger_pricestringStop order trigger price
trigger_directionstringStop order trigger direction
trigger_price_typestringTrigger price type, latest_price or mark_price or index_priceclient_idstringClient ID
created_atintOrder creation time
updated_atintOrder update time

Request example

GET /futures/pending-stop-order?market=CETUSDT&market_type=FUTURES&side=buy&page=1&limit=10

Response example

{
"code": 0,
"data": [
{
"stop_id": 13400,
"market": " CETUSDT",
"market_type": "FUTURES",
"side": "buy",
"type": "limit",
"amount": "10000",
"price": "1",
"trigger_price": "1.1",
"trigger_direction": "higher",
"trigger_price_type": "mark_price",
"client_id": "client_id_1",
"created_at": 1691482451000,
"updated_at": 1691482451000
}
],
"pagination": {
"total": 1,
"has_next": false
}
"message": "OK"
}