Spot order details
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Order ID | [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(.) | [optional] |
| createTime | String | Order creation time | [optional] [readonly] |
| updateTime | String | Order last modification time | [optional] [readonly] |
| status | StatusEnum | Order status - `open`: to be filled - `closed`: filled - `cancelled`: cancelled | [optional] [readonly] |
| currencyPair | String | Currency pair | |
| type | TypeEnum | Order type. limit - limit order | [optional] |
| account | AccountEnum | Account type. spot - use spot account; margin - use margin account | [optional] |
| side | SideEnum | Order side | |
| amount | String | Trade amount | |
| price | String | Order price | |
| timeInForce | TimeInForceEnum | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee | [optional] |
| autoBorrow | Boolean | Used in margin trading(i.e. `account` is `margin`) to allow automatic loan of insufficient part if balance is not enough. | [optional] |
| left | String | Amount left to fill | [optional] [readonly] |
| fillPrice | String | Total filled in quote currency. Deprecated in favor of `filled_total` | [optional] [readonly] |
| filledTotal | String | Total filled in quote currency | [optional] [readonly] |
| fee | String | Fee deducted | [optional] [readonly] |
| feeCurrency | String | Fee currency unit | [optional] [readonly] |
| pointFee | String | Point used to deduct fee | [optional] [readonly] |
| gtFee | String | GT used to deduct fee | [optional] [readonly] |
| gtDiscount | Boolean | Whether GT fee discount is used | [optional] [readonly] |
| rebatedFee | String | Rebated fee | [optional] [readonly] |
| rebatedFeeCurrency | String | Rebated fee currency unit | [optional] [readonly] |
| Name | Value |
|---|---|
| OPEN | "open" |
| CLOSED | "closed" |
| CANCELLED | "cancelled" |
| Name | Value |
|---|---|
| LIMIT | "limit" |
| Name | Value |
|---|---|
| SPOT | "spot" |
| MARGIN | "margin" |
| Name | Value |
|---|---|
| BUY | "buy" |
| SELL | "sell" |
| Name | Value |
|---|---|
| GTC | "gtc" |
| IOC | "ioc" |
| POC | "poc" |