- Topic:
order - Stream: Private (
wss://api.ekiden.fi/ws/private)
Authenticate
Use authentication flow described in the Connect page.Subscribe
Events
Messages arrive withop: "event", topic: "order", and data is an array of Order.
Example:
- Numeric values are encoded as strings to preserve precision.
- Times (
created_time,updated_time,expire_time) are Unix milliseconds (encoded as strings).
Fields
| Field | Type | Notes |
|---|---|---|
| order_id | string | Order ID (UUID) |
| order_link_id | string or null | Client-provided link id, if set |
| symbol | string | Symbol name |
| sub_account_address | string | Sub-account address |
| price | string | Order price |
| qty | string | Order quantity |
| side | string | Buy or Sell |
| margin_mode | string | Cross or Isolated |
| order_status | string | e.g. New, PartiallyFilled, Filled, Canceled, … |
| create_type | string or null | Create source/type |
| cancel_type | string or null | Cancel source/type |
| reject_reason | string or null | Rejection reason |
| avg_price | string | Average executed price |
| leaves_qty | string | Remaining unfilled quantity |
| leaves_value | string | Estimated value of remaining quantity |
| cum_exec_qty | string | Cumulative executed quantity |
| cum_exec_value | string | Cumulative executed value |
| cum_exec_fee | string | Cumulative fees |
| closed_pnl | string or null | Present for close position orders (WS only) |
| time_in_force | string or object | GTC, IOC, FOK, Day, or {"GTD": <ms>} |
| expire_time | string or null | Expiration time for GTD orders (ms) |
| order_type | string | Limit or Market |
| stop_order_type | string or null | Stop order type if applicable |
| tpsl | object or null | Take profit / stop loss details |
| trigger | object or null | Conditional order details |
| last_price_on_created | string | Last price when created |
| post_only | boolean | Post-only flag |
| reduce_only | boolean | Reduce-only flag |
| close_on_trigger | boolean | Close-on-trigger flag |
| created_time | string | Created time (ms) |
| updated_time | string | Updated time (ms) |
Order.