Skip to main content
Refer to Websocket for establishing the websocket connection.

Params

Each message carries one or more TWAP order events. Each row shows the TWAP order’s state after its event, like a row of Get TWAP order history. Reconcile rows by TWAP order ID (i). This channel covers TWAP orders from Create TWAP order. It does not cover TWAP order strategies.

Stream

FieldTypeDescription
’i’integerTWAP order ID
’I’Full UUID stringClient order ID
’u’stringAccount
’s’stringSymbol
’d’stringSide: [bid, ask]
‘ta’decimal stringTotal amount
’fa’decimal stringFilled amount
’lp’decimal stringAverage fill price of the latest sub-order that filled
’lv’decimal stringFilled value (price × amount) of the latest sub-order that filled
’tv’decimal stringTotal filled value (price × amount) across all sub-orders
’oe’stringTWAP order event (see below)
‘os’stringTWAP order status (see below)
‘r’boolReduce only
’sp’decimal stringMaximum slippage for each sub-order, in percent
’psa’decimal stringPlanned amount of each sub-order
’psc’integerNumber of planned sub-orders
’pasc’integerNumber of planned sub-orders processed so far
’et’integerExpiration time (milliseconds)
‘ct’integerCreated at time (milliseconds)
‘ut’integerUpdated at time (milliseconds)