| Name | Type | Description | Notes |
|---|---|---|---|
| initial | \GateApi\Model\FuturesInitialOrder | ||
| trigger | \GateApi\Model\FuturesPriceTrigger | ||
| id | int | Auto order ID | [optional] [readonly] |
| id_string | string | String form of the auto order ID; the same order as numeric `id`, as the decimal string of `id` to avoid int64 precision loss in JavaScript and similar environments. Prefer this field to display the order ID or when a string unique identifier is needed; one-to-one with `id`. Same meaning as the field of the same name in futures price-trigger REST APIs and in `futures.orders` / `futures.autoorders` WebSocket pushes. | [optional] [readonly] |
| user | int | User ID | [optional] [readonly] |
| create_time | double | Created time | [optional] [readonly] |
| finish_time | double | End time | [optional] [readonly] |
| trade_id | int | ID of the order created after trigger | [optional] [readonly] |
| status | string | Order status - `open`: Active - `finished`: Finished - `inactive`: Inactive, only applies to order take-profit/stop-loss - `invalid`: Invalid, only applies to order take-profit/stop-loss | [optional] [readonly] |
| finish_as | string | Finish status: cancelled - Cancelled; succeeded - Succeeded; failed - Failed; expired - Expired | [optional] [readonly] |
| reason | string | Additional description of how the order was completed | [optional] [readonly] |
| order_type | string | Types of take-profit and stop-loss orders, including: - `close-long-order`: Order take-profit/stop-loss, close long position - `close-short-order`: Order take-profit/stop-loss, close short position - `close-long-position`: Position take-profit/stop-loss, used to close all long positions - `close-short-position`: Position take-profit/stop-loss, used to close all short positions - `plan-close-long-position`: Position plan take-profit/stop-loss, used to close all or partial long positions - `plan-close-short-position`: Position plan take-profit/stop-loss, used to close all or partial short positions The two types of order take-profit/stop-loss are read-only and cannot be passed in requests | [optional] |
| me_order_id | int | Corresponding order ID for order take-profit/stop-loss orders | [optional] [readonly] |