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 | 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] |
me_order_id | str | Corresponding order ID of order take-profit/stop-loss. | [optional] [readonly] |