跳到主要内容

PlaceOrderResp

orderIdstring

服务器分配的订单标识符

clOrderIdstring

若提供了客户端订单标识符,则回显该标识符

statusint32

反映订单当前状态的数字状态码(例如已成交、已撤销、已拒绝)

marketstring

交易对,例如 BTC-USDT

typeint32

标识订单类型的数字代码(例如 LIMIT、MARKET、TWAP、PEG)

orderSidestring

BUY 或 SELL

orderPricedouble

订单价格

postOnlyboolean

订单是否以 post-only(只挂单)方式提交

timestampint64

服务器端事件时间戳,单位为纪元毫秒

orderDetailTypestring

适用时的订单详细子类型(例如算法 TWAP 订单的 TWAP)

可选值: [TWAP, PARTIAL_LIQUIDATION, FORCED_MARKET_BUY, FORCED_MARKET_SELL]

messagestring

可选的诊断信息;仅在返回时出现(例如拒绝原因)

userQuoteCurrencystring

为用户配置的计价货币

orderCurrencystring

'quote' 或 'base';指示下方填充的是计价数量字段还是基础数量字段

originalOrderBaseSizedouble

以基础货币计的原始数量;当 orderCurrency 为 'base' 时填充

originalOrderQuoteSizedouble

以计价货币计的原始数量;当 orderCurrency 为 'quote' 时填充

currentOrderBaseSizedouble

以基础货币计的当前有效数量;当 orderCurrency 为 'base' 时填充

currentOrderQuoteSizedouble

以计价货币计的当前有效数量;当 orderCurrency 为 'quote' 时填充

remainingOrderBaseSizedouble

以基础货币计的剩余未成交数量;当 orderCurrency 为 'base' 时填充

remainingOrderQuoteSizedouble

以计价货币计的剩余未成交数量;当 orderCurrency 为 'quote' 时填充

filledBaseSizedouble

最近一次撮合成交的数量,以基础货币计

totalFilledBaseSizedouble

所有撮合的累计成交数量,以基础货币计

avgFilledPricedouble

成交量加权平均成交价格

time_in_forcestring

有效方式策略(GTC、IOC、FOK);当不适用于该订单类型时为 null

PlaceOrderResp
{
"orderId": "string",
"clOrderId": "string",
"status": 0,
"market": "string",
"type": 0,
"orderSide": "string",
"orderPrice": 0,
"postOnly": true,
"timestamp": 0,
"orderDetailType": "TWAP",
"message": "string",
"userQuoteCurrency": "string",
"orderCurrency": "string",
"originalOrderBaseSize": 0,
"originalOrderQuoteSize": 0,
"currentOrderBaseSize": 0,
"currentOrderQuoteSize": 0,
"remainingOrderBaseSize": 0,
"remainingOrderQuoteSize": 0,
"filledBaseSize": 0,
"totalFilledBaseSize": 0,
"avgFilledPrice": 0,
"time_in_force": "string"
}