Order Detail
order_detailRetrieve detailed information for any order using its ID. Input the order ID to get full details about that order.
Instructions
Get detailed information about a specific order
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID (returned by submit_order or listed in today_orders / history_orders) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID. | |
| status | Yes | Status enum (e.g. `Filled`, `WaitToNew`, `Canceled`). | |
| symbol | Yes | Security symbol, e.g. "700.HK". | |
| stock_name | Yes | Display name of the security. | |
| quantity | Yes | Submitted quantity. | |
| executed_quantity | Yes | Quantity already executed. | |
| price | No | Submitted limit price (null for market orders). | |
| executed_price | No | Volume-weighted average executed price (null when unfilled). | |
| submitted_at | Yes | Order submission time (RFC3339). | |
| side | Yes | Buy or Sell. | |
| order_type | Yes | Order type enum, e.g. `LO`, `MO`, `LIT`. | |
| last_done | No | Latest price snapshot at order time (null if missing). | |
| trigger_price | No | Trigger price for LIT/MIT/trailing orders. | |
| msg | Yes | Reject message or remark. | |
| tag | Yes | Order tag (e.g. `Normal`, `LongTerm`). | |
| time_in_force | Yes | Time-in-force: `Day` / `GTC` / `GTD`. | |
| expire_date | No | GTD expiry date (yyyy-mm-dd). | |
| updated_at | No | Last update time (RFC3339). | |
| trigger_at | No | Conditional-order trigger time (RFC3339). | |
| trailing_amount | No | Trailing-stop trail amount (TSLPAMT). | |
| trailing_percent | No | Trailing-stop trail percent (TSLPPCT, decimal). | |
| limit_offset | No | Trailing-stop limit offset (TSLPAMT/TSLPPCT). | |
| trigger_status | No | Trigger status, e.g. `Deactive` / `Active` / `Released`. | |
| currency | Yes | Settlement currency. | |
| outside_rth | No | Outside-RTH setting: `RTH_ONLY` / `ANY_TIME` / `OVERNIGHT`. |