Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 2.5 KB

Order.md

File metadata and controls

33 lines (28 loc) · 2.5 KB

Order

Properties

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 string Order status - `open`: to be filled - `closed`: filled - `cancelled`: cancelled [optional] [readonly]
CurrencyPair string Currency pair
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
Amount string Trade amount
Price string Order price
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]