Current Open Orders
Query the list of current unfilled orders.
Interface Information
- Method:
GET - Path:
/api/v1/stock/open-api/openOrders
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | No | Stock symbol (returns all if not provided) |
| side | string | No | Direction filter: buy/sell |
| page | int | No | Page number, default 1 |
| size | int | No | Number per page, default 20, max 100 |
Request Example
GET /api/v1/stock/open-api/openOrders?symbol=AAPL&page=1&size=20
Response Fields
| Field | Type | Description |
|---|---|---|
| code | int | Status code |
| msg | string | Status message |
| data.orders | array | Order list |
| data.total | int | Total count |
| data.page | int | Current page |
| data.size | int | Number per page |
See "Order Detail" interface for order object fields
Response Example
{
"code": 0,
"msg": "success",
"data": {
"orders": [
{
"orderId": "123456789",
"symbol": "AAPL",
"side": "buy",
"type": "limit",
"price": "185.50",
"quantity": "1000",
"filledQty": "500",
"status": "partial",
"createdAt": 1705737600000
}
],
"total": 1,
"page": 1,
"size": 20
}
}