Name | Type | Description | Notes |
---|---|---|---|
initial | FuturesInitialOrder | [default to undefined] | |
trigger | FuturesPriceTrigger | [default to undefined] | |
id | number | Auto order ID | [optional] [readonly] [default to undefined] |
user | number | User ID | [optional] [readonly] [default to undefined] |
createTime | number | Creation time | [optional] [readonly] [default to undefined] |
finishTime | number | Finished time | [optional] [readonly] [default to undefined] |
tradeId | number | ID of the newly created order on condition triggered | [optional] [readonly] [default to undefined] |
status | string | Auto order status - `open`: order is active - `finished`: order is finished - `inactive`: order is not active, only for close-long-order or close-short-order - `invalid`: order is invalid, only for close-long-order or close-short-order | [optional] [readonly] [default to undefined] |
finishAs | string | How order is finished | [optional] [readonly] [default to undefined] |
reason | string | Additional remarks on how the order was finished | [optional] [readonly] [default to undefined] |
orderType | string | Types of stop-profit and stop-loss, including: - `close-long-order`: Entrusting order stop profit and stop loss, flat long position - `close-short-order`: Entrusted order stop profit and stop loss, short position - `close-long-position`: Position stop-profit stop loss, used to close long positions - `close-short-position`: Position stop-profit stop loss, used to close all short positions - `plan-close-long-position`: Position plan take profit and stop loss, used to close long positions in all or part of long positions - `plan-close-short-position`: Position plan stop-profit and stop loss, used to close all short positions or partially close short positions The two types of entrusted order stop-profit and stop-loss are read-only and cannot be passed in through requests | [optional] [default to undefined] |
meOrderId | number | Corresponding order ID of order take-profit/stop-loss. | [optional] [readonly] [default to undefined] |
-
Open
(value:'open'
) -
Finished
(value:'finished'
) -
Inactive
(value:'inactive'
) -
Invalid
(value:'invalid'
)
-
Cancelled
(value:'cancelled'
) -
Succeeded
(value:'succeeded'
) -
Failed
(value:'failed'
) -
Expired
(value:'expired'
)