| initial |
FuturesInitialOrder |
|
[default to undefined] |
| trigger |
FuturesPriceTrigger |
|
[default to undefined] |
| id |
number |
Auto order ID |
[optional] [readonly] [default to undefined] |
| idString |
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] [default to undefined] |
| user |
number |
User ID |
[optional] [readonly] [default to undefined] |
| createTime |
number |
Created time |
[optional] [readonly] [default to undefined] |
| finishTime |
number |
End time |
[optional] [readonly] [default to undefined] |
| tradeId |
number |
ID of the order created after trigger |
[optional] [readonly] [default to undefined] |
| 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] [default to undefined] |
| finishAs |
string |
Finish status: cancelled - Cancelled; succeeded - Succeeded; failed - Failed; expired - Expired |
[optional] [readonly] [default to undefined] |
| reason |
string |
Additional description of how the order was completed |
[optional] [readonly] [default to undefined] |
| orderType |
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] [default to undefined] |
| meOrderId |
number |
Corresponding order ID for order take-profit/stop-loss orders |
[optional] [readonly] [default to undefined] |
| posMarginMode |
string |
Position margin mode: `isolated` (isolated margin) or `cross` (cross margin). Returned by the server in simple split-position mode; when writing, use only the values below. |
[optional] [default to undefined] |