Optional
Readonly
activationUsed with TRAILING_STOP_MARKET
orders, default as the latest price(supporting different workingType
)
Optional
Readonly
callbackUsed with TRAILING_STOP_MARKET
orders, min 0.1, max 10 where 1 for 1%
Optional
Readonly
closetrue
, false
;Close-All,used with STOP_MARKET
or TAKE_PROFIT_MARKET
.
Optional
Readonly
goodorder cancel time for timeInForce GTD
, mandatory when timeInforce
set to GTD
; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000
Optional
Readonly
idUnique WebSocket request ID.
Optional
Readonly
newA unique id among open orders. Automatically generated if not sent. Can only be string following the rule: ^[\.A-Z\:/a-z0-9_-]{1,36}$
Optional
Readonly
new"ACK", "RESULT", default "ACK"
Optional
Readonly
positionDefault BOTH
for One-way Mode ; LONG
or SHORT
for Hedge Mode. It must be sent in Hedge Mode.
Optional
Readonly
priceOptional
Readonly
priceonly avaliable for LIMIT
/STOP
/TAKE_PROFIT
order; can be set to OPPONENT
/ OPPONENT_5
/ OPPONENT_10
/ OPPONENT_20
: /QUEUE
/ QUEUE_5
/ QUEUE_10
/ QUEUE_20
; Can't be passed together with price
Optional
Readonly
price"TRUE" or "FALSE", default "FALSE". Used with STOP/STOP_MARKET
or TAKE_PROFIT/TAKE_PROFIT_MARKET
orders.
Optional
Readonly
quantityCannot be sent with closePosition
=true
(Close-All)
Optional
Readonly
recvOptional
Readonly
reduce"true" or "false". default "false". Cannot be sent in Hedge Mode; cannot be sent with closePosition
=true
Optional
Readonly
selfNONE
:No STP / EXPIRE_TAKER
:expire taker order when STP triggers/ EXPIRE_MAKER
:expire taker order when STP triggers/ EXPIRE_BOTH
:expire both orders when STP triggers; default NONE
Readonly
sideSELL
, BUY
Optional
Readonly
stopUsed with STOP/STOP_MARKET
or TAKE_PROFIT/TAKE_PROFIT_MARKET
orders.
Readonly
symbolOptional
Readonly
timeReadonly
typeOptional
Readonly
workingstopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE"
Request parameters for newOrder operation in TradeApi. NewOrderRequest