Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 2.79 KB

BatchOrder.md

File metadata and controls

36 lines (31 loc) · 2.79 KB

BatchOrder

Properties

Name Type Description Notes
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]
Succeeded bool Whether order succeeds [optional]
Label string Error label, empty string if order succeeds [optional]
Message string Detailed error message, empty string if order succeeds [optional]
Id string Order ID [optional] [readonly]
CreateTime string Order creation time [optional] [readonly]
UpdateTime string Order last modification time [optional] [readonly]
Status string Order status - `open`: to be filled - `closed`: filled - `cancelled`: cancelled [optional] [readonly]
CurrencyPair string Currency pair [optional]
Type string Order type. limit - limit order [optional] [default to TYPE_LIMIT]
Account string Account type. spot - use spot account; margin - use margin account [optional] [default to ACCOUNT_SPOT]
Side string Order side [optional]
Amount string Trade amount [optional]
Price string Order price [optional]
TimeInForce string 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 TIME_IN_FORCE_GTC]
AutoBorrow bool 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 bool Whether GT fee discount is used [optional] [readonly]
RebatedFee string Rebated fee [optional] [readonly]
RebatedFeeCurrency string Rebated fee currency unit [optional] [readonly]

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