Today's Orders
GET/api/v1.0/sim-trade/{acc_id}/ordersGet today's order list.
Parameters
| Parameter | Type | Location | Required | Description |
|---|---|---|---|---|
acc_id | string | path | Yes | Business account ID |
Request Example
bash
curl -s "https://webapi.moomoo.com/api/v1.0/sim-trade/80303779/orders" | jqResponse Fields
Returns data.orders[].
| Field | Type | Description |
|---|---|---|
order_id | string | Order ID |
side | int | 1=Buy 2=Sell 3=Short Sell 4=Buy Back |
symbol | string | Symbol |
stock_name | string | Name |
order_type | int | 1=Limit 3=Market |
status | int | 2=Submitted 3=Partially Filled 4=Filled 5=Cancelled 6=Rejected |
qty | string | Order quantity |
cum_qty | string | Filled quantity |
price | string | Order price |
avg_fill_price | string | Average fill price |
aux_price | string/null | Stop-loss price |
create_time | string | Created time (microseconds) |
update_time | string | Updated time (microseconds) |
text | string | Remark |
Response Example
json
{
"ret_code": 0,
"data": {
"orders": [
{
"order_id": "1270777",
"side": 1,
"symbol": "00700",
"stock_name": "腾讯控股",
"order_type": 1,
"status": 4,
"qty": "100",
"cum_qty": "100",
"price": "999",
"avg_fill_price": "448.2",
"create_time": "1781578935000000",
"update_time": "1781578935000000"
}
]
}
}