Skip to main content
Version: Next

Current Orders

Query list of unfilled limit orders.

API Information

  • Method: POST
  • Path: /api/v1/futures/open-api/order/limit

Request Parameters

ParameterTypeRequiredDescription
symbolstringNoFilter by futures trading pair
coTypeintNoFilter by contract type: 1=US stocks, 2=Hong Kong stocks, 3=Cryptocurrency

Request Example

{
"symbol": "BTCUSDT",
"coType": 3
}

Response Fields

FieldTypeDescription
idint64Order ID
symbolstringFutures trading pair
pricestringOrder price
statusintOrder status: 0=init, 1=new, 3=part_filled
orderNostringOrder number
openFlagintOpen/Close: 1=Open, 2=Close
longFlagintDirection: 1=Long (Buy), 2=Short (Sell)
volstringOrder quantity
amtTotalstringTotal order value (USD)
orderMarginstringMargin
orderTypeintOrder type: 1=Limit, 2=Market
leveragestringLeverage
ctimeint64Creation time (milliseconds)
triggerTypeintTrigger type: 1=Normal, 2=Take profit, 3=Stop loss, 4=Liquidation
marginModeintMargin mode: 1=Cross, 2=Isolated
coTypeintContract type: 1=US stocks, 2=Hong Kong stocks, 3=Cryptocurrency

Response Example

{
"code": 200,
"msg": "success",
"data": {
"orders": [
{
"id": 123456789,
"symbol": "BTCUSDT",
"price": "68500.0",
"status": 1,
"orderNo": "ORD20240120001",
"openFlag": 1,
"longFlag": 1,
"vol": "0.5",
"amtTotal": "34250.00",
"orderMargin": "3425.00",
"orderType": 1,
"leverage": "10",
"ctime": 1705737600000,
"triggerType": 1,
"marginMode": 1,
"coType": 3
}
]
}
}