Skip to main content

Query User's CM Force Orders(USER_DATA)

API Description

Query User's CM Force Orders

HTTP Request

GET /papi/v1/cm/forceOrders

Request Weight

20 with symbol, 50 without symbol

Request Parameters

NameTypeMandatoryDescription
symbolSTRINGNO
autoCloseTypeENUMNO"LIQUIDATION" for liquidation orders, "ADL" for ADL orders.
startTimeLONGNO
endTimeLONGNO
limitINTNODefault 50; max 100.
recvWindowLONGNOThe value cannot be greater than 60000
timestampLONGYES
  • If "autoCloseType" is not sent, orders with both of the types will be returned
  • If "startTime" is not sent, data within 7 days before "endTime" can be queried

Response Example

[
{
"orderId": 165123080,
"symbol": "BTCUSD_200925",
"pair": "BTCUSD",
"status": "FILLED",
"clientOrderId": "autoclose-1596542005017000006",
"price": "11326.9",
"avgPrice": "11326.9",
"origQty": "1",
"executedQty": "1",
"cumBase": "0.00882854",
"timeInForce": "IOC",
"type": "LIMIT",
"reduceOnly": false,
"side": "SELL",
"positionSide": "BOTH",
"origType": "LIMIT",
"time": 1596542005019,
"updateTime": 1596542005050
}
]