Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 2.73 KB

File metadata and controls

36 lines (32 loc) · 2.73 KB

BatchOrder

Batch order details

Properties

Name Type Description Notes
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]
succeeded bool Whether order succeeds [optional]
label str Error label, empty string if order succeeds [optional]
message str Detailed error message, empty string if order succeeds [optional]
id str Order ID [optional] [readonly]
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 [optional]
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 [optional]
amount str Trade amount [optional]
price str Order price [optional]
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]