Endpoint
Request Body
Response
Response Fields
Example Request
Perp TWAP:HL_SpotPair asset id, not the raw HL_Spot token asset id:
Notes
twapOrderIdis deterministic from the signed request transaction id. - Schedules must satisfy the current suborder interval bounds enforced by Notional: minimum 10 seconds and maximum 10 minutes between suborders. - Perp TWAPs validate current mark price, first-suborder margin, and minimum suborder notional before acceptance. - Spot TWAPs validate the spot pair’s base token price, first-suborder source balance, and minimum suborder notional before acceptance. Spot buys use the existing protocol spot-prefund flow for each slice. - Reduce-only TWAPs are perp-only and are checked against the remaining closable size after existing reduce-only orders and active TWAP reservations. - Accepted TWAPs begin withresponse.data.status: "pending"and then progress throughtwapListActive,twapListHistory, and WebSockettwapUpdates.
