Name | Type | Description | Notes |
---|---|---|---|
Id | int64 | Futures order ID | [optional] [readonly] |
User | int32 | User ID | [optional] [readonly] |
CreateTime | float32 | Order creation time | [optional] [readonly] |
FinishTime | float32 | Order finished time. Not returned if order is open | [optional] [readonly] |
FinishAs | string | How the order is finished. - filled: all filled - cancelled: manually cancelled - liquidated: cancelled because of liquidation - ioc: time in force is `IOC`, finish immediately - auto_deleveraged: finished by ADL - reduce_only: cancelled because of increasing position while `reduce-only` set | [optional] [readonly] |
Status | string | Order status - `open`: waiting to be traded - `finished`: finished | [optional] [readonly] |
Contract | string | Futures contract | |
Size | int64 | Order size. Specify positive number to make a bid, and negative number to ask | |
Iceberg | int64 | Display size for iceberg order. 0 for non-iceberg. Note that you would pay the taker fee for the hidden size | [optional] |
Price | string | Order price. 0 for market order with `tif` set as `ioc` | [optional] |
Close | bool | Set as `true` to close the position, with `size` set to 0 | [optional] [default to false] |
IsClose | bool | Is the order to close position | [optional] [readonly] |
ReduceOnly | bool | Set as `true` to be reduce-only order | [optional] [default to false] |
IsReduceOnly | bool | Is the order reduce-only | [optional] [readonly] |
IsLiq | bool | Is the order for liquidation | [optional] [readonly] |
Tif | string | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce-only | [optional] [default to TIF_GTC] |
Left | int64 | Size left to be traded | [optional] [readonly] |
FillPrice | string | Fill price of the order | [optional] [readonly] |
Text | string | User defined information. If not empty, must follow the rules below: 1. prefixed with `t-` 2. no longer than 28 bytes without `t-` prefix 3. can only include 0-9, A-Z, a-z, underscore(_), hyphen(-) or dot(.) Besides user defined information, reserved contents are listed below, denoting how the order is created: - web: from web - api: from API - app: from mobile phones - auto_deleveraging: from ADL - liquidation: from liquidation - insurance: from insurance | [optional] |
Tkfr | string | Taker fee | [optional] [readonly] |
Mkfr | string | Maker fee | [optional] [readonly] |
Refu | int32 | Reference user ID | [optional] [readonly] |