Twap
TWAP order β slices a large order into smaller child orders spread across a time window
TWAP order β slices a large order into smaller child orders spread across a time window
Possible values: []
Trading pair, e.g. BTC-USDT
BUY or SELL
Possible values: [BUY, SELL]
Total order quantity in base currency
Total execution window in seconds
Client-supplied order identifier, echoed in the response (max 64 characters)
If true, place child orders as post-only first before falling back to taker
If true, randomize child order sizes to reduce predictability
Maximum size of each child order, in base currency
Pause execution while the bid-ask spread exceeds this value
0 to 1; omit or set negative to disable, defaults to -1 (disabled)
-1Pause execution when the reference price crosses this level
Delay execution until the market price reaches this level
Reference price for the activation trigger (LAST_PRICE, MARK_PRICE, or INDEX_PRICE)
Possible values: [INDEX_PRICE, LAST_PRICE, MARK_PRICE]
{
"orderType": "LIMIT",
"symbol": "string",
"orderSide": "BUY",
"orderSize": 0,
"timePeriod": 0,
"clOrderId": "string",
"makerFirst": true,
"randomizeSize": true,
"subTwapMaxOrderSize": 0,
"maxSpread": 0,
"maxDistanceThroughBook": -1,
"pausePrice": 0,
"activationTriggerPrice": 0,
"activationTriggerPriceType": "INDEX_PRICE"
}