Hyperliquidtrading: When Hyperliquid Fits a Trade
Hyperliquid fits spot and derivative trades that need price limits or control over execution timing. Its onchain order books allow unfilled orders to be canceled, while completed fills change balances or exposure. Spot, perpetual, and outcome markets differ in what you hold, which collateral remains exposed, and how you can exit.
Last updated:
Price Control Before a Fill
A limit order suits a trade where a price boundary matters more than certainty of execution. A buy limit sets the highest acceptable price, and a sell limit sets the lowest. An order that can match immediately may fill on arrival, so a limit price alone does not reserve time to reconsider. Hyperliquid's time-in-force options determine how unmatched quantity is handled.
- Good Til Cancel (GTC)
- Unfilled quantity can remain on the book until it fills or is canceled.
- Post Only (ALO)
- The order is canceled if it would match immediately. Otherwise, it joins the book as resting liquidity and can fill later.
- Immediate or Cancel (IOC)
- The order attempts immediate execution within its price constraint, with any unfilled quantity canceled.
Cancellation stops remaining open quantity; it cannot undo a completed fill. A cancellation request can arrive after execution, so the resulting order status and fills establish what remains. When any execution would be premature, keeping the instruction unsubmitted preserves the ability to change or abandon it.
Wallet connection and the gasless Enable Trading signature in the wallet onboarding route are separate from placing an order. The selected market still requires its applicable balance or collateral.
Execution Spread Over Time
A time-weighted average price (TWAP) order suits execution distributed over a period instead of one immediate attempt. Hyperliquid supports a minimum total order size of $100 and running times from 5 minutes to 7 days. The order is divided into suborders, with intervals of at least 30 seconds.
Each suborder uses a 3% slippage limit, and a selected maximum buy price or minimum sell price can further restrict execution. Unfavorable prices, wide spreads, or low liquidity can leave suborders unfilled. A TWAP can finish its running time without completing the full quantity; completed suborders have already changed the account's exposure. A successful TWAP cancellation stops future suborders but does not reverse completed fills.
Exits After a Fill
A spot fill changes token balances. Spot trading fits the goal of acquiring or disposing of the token itself. Selling an acquired balance later is a new trade with its own execution price and applicable fees, so it does not restore the original purchase terms.
A perpetual provides collateral-backed long or short exposure without purchasing the underlying asset. Reducing or closing that exposure requires a closing order to fill. Reduce Only constrains an order to reducing an existing position, preventing it from opening exposure in the opposite direction. Any remaining position can be liquidated if the applicable maintenance margin requirement is not met, and funding can be paid or received while it remains open.
Triggered Exits and Partial Fills
Take-profit and stop-loss (TP/SL) orders suit exits that depend on a price condition. Hyperliquid uses the mark price to trigger them. A market TP/SL order has a 10% slippage tolerance; its trigger price is not a guaranteed execution price. A limit TP/SL order controls the acceptable fill price but may remain unfilled if the book moves beyond that limit.
The TP/SL orders attached to a parent order depend on that parent's fill state. They are placed when the parent fully fills. If the trader cancels a partially filled parent, its attached TP/SL orders are canceled too. A TP/SL for that filled quantity then needs to be placed separately if desired. The documented exception is a partially filled parent canceled for insufficient margin: its attached TP/SL orders are placed as though the parent had fully filled.
Position-associated TP/SL orders offer a separate way to manage an existing position. They attempt to close the entire position at the trigger by default. Setting a specific quantity makes them fixed in size, so they do not resize with later position changes.
Collateral Sharing and Margin Removal
Account mode determines the reach of margin sharing across DEXs . Under unified account or portfolio margin, cross-margin positions on DEXs using the same collateral share margin. Under Standard mode, cross-margin sharing stays within each DEX. This distinction matters when a trade is meant to use only a particular pool of collateral.
Isolated margin provides a separate collateral boundary for a position, where the market permits it. Strict-isolated markets add a restriction: margin cannot be manually removed and is reduced proportionally as the position closes. Canceling an entry order does not release margin still required by a filled position.
When portfolio margin is active, insufficient balances for spot or perpetual orders can cause automatic borrowing against eligible collateral, subject to collateral loan-to-value limits, available supply, and borrow caps. Eligible spot holdings can therefore back borrowing and may be liquidated if the account fails its portfolio maintenance requirement. Any outstanding borrowing continues to accrue interest; a trading exit alone does not establish that the borrowed balance has been repaid.
Bounded Exposure and Settlement
HIP-4 outcome contracts fit a defined settlement question with a bounded payout. They are fully collateralized, and the outcome contracts themselves do not involve leverage or liquidations. Each outcome has two token sides, often labeled Yes and No, that convert into complementary fractions of the quote asset at settlement.
A sale before settlement depends on matching liquidity. If you hold both Yes and No tokens for the same outcome, equal quantities can instead be merged into quote tokens before settlement. Holding an outcome through settlement commits it to the market's specified payout rule and settlement time. This differs from a perpetual's ongoing long or short exposure: the outcome is suitable only when its actual settlement specification matches the question being traded.
Trade-Fit Checklist
- Price takes priority over completion: a limit order fits if partial or no execution is acceptable.
- No resting remainder is wanted: IOC cancels quantity left after the immediate execution attempt.
- Execution can be spread over time: TWAP fits when its size and duration limits work and an incomplete fill is acceptable.
- The goal is to hold a token: spot trading changes the token balance; a perpetual supplies collateral-backed price exposure.
- An existing perp needs reducing: Reduce Only prevents a closing order from opening the opposite position, but the exit still needs to fill.