Current Orders
Query list of unfilled limit orders.
API Information
- Method:
POST - Path:
/api/v1/futures/open-api/order/limit
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | No | Filter by futures trading pair |
| coType | int | No | Filter by contract type: 1=US stocks, 2=Hong Kong stocks, 3=Cryptocurrency |
Request Example
{
"symbol": "BTCUSDT",
"coType": 3
}
Response Fields
| Field | Type | Description |
|---|---|---|
| id | int64 | Order ID |
| symbol | string | Futures trading pair |
| price | string | Order price |
| status | int | Order status: 0=init, 1=new, 3=part_filled |
| orderNo | string | Order number |
| openFlag | int | Open/Close: 1=Open, 2=Close |
| longFlag | int | Direction: 1=Long (Buy), 2=Short (Sell) |
| vol | string | Order quantity |
| amtTotal | string | Total order value (USD) |
| orderMargin | string | Margin |
| orderType | int | Order type: 1=Limit, 2=Market |
| leverage | string | Leverage |
| ctime | int64 | Creation time (milliseconds) |
| triggerType | int | Trigger type: 1=Normal, 2=Take profit, 3=Stop loss, 4=Liquidation |
| marginMode | int | Margin mode: 1=Cross, 2=Isolated |
| coType | int | Contract 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
}
]
}
}