Order Types

Purrps supports all Hyperliquid order types.

All orders execute directly on Hyperliquid's native order engine. Purrps does not modify execution logic, routing, matching, or priority.

Basic Execution

Market: Executes immediately at the best available price.

Limit: Executes at your specified price or better.

Risk & Targets

Stop Market: Triggers a market order when the stop price is reached.

Stop Limit: Triggers a limit order when the stop price is reached.

Take Profit (TP): Triggers an order when a target price is reached.

Stop Loss (SL): Triggers an order when a loss threshold is reached.

Advanced Execution

Scale: Places multiple limit orders across a defined price range.

TWAP (Time-Weighted Average Price): Splits a large order into smaller suborders executed over time to reduce market impact.

TWAP Mechanics

  • Orders are split into suborders sent every 30 seconds

  • Each suborder has a maximum slippage cap of 3%

  • If early suborders don't fill due to liquidity or spread conditions, later suborders increase in size (up to 3× standard size) to catch up

  • TWAP suborders won't execute during post-only periods (e.g. network upgrades)

Order Options

These can be applied to supported order types:

Reduce Only: Ensures the order only reduces an existing position.

Good-Til-Cancelled (GTC): Order remains active until filled or manually cancelled.

Post Only (ALO): Ensures maker-only execution by preventing immediate matches.

Immediate-Or-Cancel (IOC): Executes immediately and cancels any unfilled portion.


For exact execution mechanics, constraints, and edge-case behavior, refer to Hyperliquid’s official documentation:

https://hyperliquid.gitbook.io/hyperliquid-docs/trading/order-typesarrow-up-right

Last updated