Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 2.45 KB

File metadata and controls

33 lines (29 loc) · 2.45 KB

Order

Spot order details

Properties

Name Type Description Notes
id str Order ID [optional] [readonly]
text str 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]
create_time str Order creation time [optional] [readonly]
update_time str Order last modification time [optional] [readonly]
status str Order status - `open`: to be filled - `closed`: filled - `cancelled`: cancelled [optional] [readonly]
currency_pair str Currency pair
type str Order type. limit - limit order [optional] [default to 'limit']
account str Account type. spot - use spot account; margin - use margin account [optional] [default to 'spot']
side str Order side
amount str Trade amount
price str Order price
time_in_force str Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee [optional] [default to 'gtc']
auto_borrow bool Used in margin trading(i.e. `account` is `margin`) to allow automatic loan of insufficient part if balance is not enough. [optional]
left str Amount left to fill [optional] [readonly]
fill_price str Total filled in quote currency. Deprecated in favor of `filled_total` [optional] [readonly]
filled_total str Total filled in quote currency [optional] [readonly]
fee str Fee deducted [optional] [readonly]
fee_currency str Fee currency unit [optional] [readonly]
point_fee str Point used to deduct fee [optional] [readonly]
gt_fee str GT used to deduct fee [optional] [readonly]
gt_discount bool Whether GT fee discount is used [optional] [readonly]
rebated_fee str Rebated fee [optional] [readonly]
rebated_fee_currency str Rebated fee currency unit [optional] [readonly]

[Back to Model list] [Back to API list] [Back to README]