Futures order details
Name | Type | Description | Notes |
---|---|---|---|
initial | FuturesInitialOrder | ||
trigger | FuturesPriceTrigger | ||
id | int | Auto order ID | [optional] [readonly] |
user | int | User ID | [optional] [readonly] |
create_time | float | Creation time | [optional] [readonly] |
finish_time | float | Finished time | [optional] [readonly] |
trade_id | int | ID of the newly created order on condition triggered | [optional] [readonly] |
status | str | 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] |
finish_as | str | How order is finished | [optional] [readonly] |
reason | str | Additional remarks on how the order was finished | [optional] [readonly] |
order_type | str | 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] |
me_order_id | int | Corresponding order ID of order take-profit/stop-loss. | [optional] [readonly] |