Order Detail
Query detailed information of a single order.
Interface Information
- Method:
GET - Path:
/api/v1/stock/open-api/orderDetail
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Stock symbol |
| orderId | string | Yes | Order ID |
Request Example
GET /api/v1/stock/open-api/orderDetail?symbol=AAPL&orderId=123456789
Response Fields
| Field | Type | Description |
|---|---|---|
| orderId | string | Order ID |
| clientOid | string | Client-defined order ID |
| symbol | string | Trading pair |
| side | string | Direction: buy-buy, sell-sell |
| type | string | Type: limit-limit, market-market |
| price | string | Order price |
| quantity | string | Order quantity |
| filledQty | string | Filled quantity |
| filledAmount | string | Filled amount |
| avgPrice | string | Average fill price |
| status | string | Status: pending-pending, partial-partial, filled-filled, cancelled-cancelled |
| fee | string | Trading fee |
| feeCurrency | string | Fee currency |
| createdAt | int64 | Creation time (millisecond timestamp) |
| updatedAt | int64 | Update time (millisecond timestamp) |
Response Example
{
"code": 0,
"msg": "success",
"data": {
"orderId": "123456789",
"clientOid": "my-order-001",
"symbol": "AAPL",
"side": "buy",
"type": "limit",
"price": "185.50",
"quantity": "1000",
"filledQty": "1000",
"filledAmount": "185500.00",
"avgPrice": "185.50",
"status": "filled",
"fee": "18.55",
"feeCurrency": "USDT",
"createdAt": 1705737600000,
"updatedAt": 1705737700000
}
}