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
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
newACK
,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 available 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
quantityQuantity measured by contract number, Cannot be sent with closePosition
=true
Optional
Readonly
recvOptional
Readonly
reducetrue
or false
. default false
. Cannot be sent in Hedge Mode; cannot be sent with closePosition
=true
(Close-All)
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
typeLIMIT
, MARKET
, STOP
, STOP_MARKET
, TAKE_PROFIT
, TAKE_PROFIT_MARKET
, TRAILING_STOP_MARKET
Optional
Readonly
workingstopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE"
Request parameters for newOrder operation in TradeApi. NewOrderRequest