Interface: AdvTradeGlobalTriggerOrderHistoryRecord
Properties
| Property | Type | Description |
|---|---|---|
amount | number | Order size. Use base-coin units for spot, options, and linear instruments, including linear perpetuals; use USD for inverse futures and inverse perpetuals. |
direction | AdvTradeGlobalDirection | Direction: buy, or sell |
instrument_name | string | Unique instrument identifier |
is_secondary_oto? | boolean | true if the order is an order that can be triggered by another order, otherwise not present. |
label? | string | User defined label (presented only when previously set for order by user) |
last_update_timestamp? | number | The timestamp (milliseconds since the Unix epoch) |
oco_ref? | string | Unique reference that identifies a one_cancels_others (OCO) pair. |
order_id | string | Unique order identifier |
order_state | string | Order state: "triggered", "cancelled", or "rejected" with rejection reason (e.g. "rejected:reduce_direction"). |
order_type | "limit" | "market" | Requested order type: "limit" or "market" |
post_only | boolean | true for post-only orders only |
price | number | Order price in the instrument’s price units. |
reduce_only | boolean | Optional (not added for spot). 'true for reduce-only orders only' |
request | string | Type of last request performed on the trigger order by user or system. "cancel" - when order was cancelled, "trigger:order" - when trigger order spawned market or limit order after being triggered |
source? | string | Source of the order that is linked to the trigger order. |
timestamp | number | The timestamp (milliseconds since the Unix epoch) |
trigger | AdvTradeGlobalTrigger | Trigger type (only for trigger orders). Allowed values: "index_price", "mark_price", "last_price". |
trigger_offset | number | The maximum deviation from the price peak beyond which the order will be triggered (Only for trailing trigger orders) |
trigger_order_id | string | Id of the user order used for the trigger-order reference before triggering |
trigger_price | number | Trigger price (Only for future trigger orders) |