Place a TWAP (time-weighted average price) order. The parent order never reaches the chain: the backend sends one market IOC child order per interval until the size is filled or the duration runs out.
Sizing: size is in the base asset and is rounded down to the market's step size. Slices are that size divided by duration / frequency + 1 (one at the start, one every interval, one at the end: 30 minutes at 30s is 61); a slice smaller than the market minimum order size is rejected here rather than on-chain, so raise the size or shorten the duration. With randomize the check uses the low end of the range, 20% under the base slice.
Slippage: each child order is a market IOC and is capped by the market's own price band. A slice that cannot fill inside the band fills partially, and the remainder is picked up by later slices, up to 3x the base slice size.
Conditional start: with trigger_price the order waits until the mark price reaches that level, then runs for its full duration from that moment. It waits indefinitely, like a TP/SL order; cancel it to stop waiting.
Price guards: max_price / min_price terminate the order when the mark price reaches them. Whatever has filled stays filled; the remainder is not sent.
Leverage and margin mode are account-level settings per market and are not part of this request — the TWAP uses whatever the account already has, exactly like a normal market order.
Requires JWT authentication: the backend places the child orders through the OperatorHub allowance, so the account's allowance must cover the whole size and outlast the run.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||