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 | Take-profit/stop-loss types, which include: - `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, close long position - `close-short-position`: position take-profit/stop-loss, close short position - `plan-close-long-position`: position planned take-profit/stop-loss, close long position - `plan-close-short-position`: position planned take-profit/stop-loss, close short position The order take-profit/stop-loss can not be passed by request. These two types are read only. | [optional] [default to undefined] |
meOrderId | string | 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'
)