Market Stats
Loading...
arrow_back
Stop-Loss, Take-Profit & Bracket Orders
Tutorial

Stop-Loss, Take-Profit & Bracket Orders

By calendar_todayPublishedupdateUpdatedschedule8 minvisibility103
Quick Answer

How do take-profit and stop-loss orders work on Hyperliquid?

Hyperliquid triggers TP/SL off the mark price — a manipulation-resistant index — not the last trade, so a single wick on thin liquidity should not fire your stop and the last price can briefly poke through your level without triggering. You then choose how the exit fills: a market TP/SL carries a built-in 10% slippage tolerance and prioritises getting you out, while a limit TP/SL caps slippage but can rest unfilled in a violent move (the docs' example: a stop with trigger $10 and limit $10 may just rest if price gaps from $11 to $9). Attaching TP/SL to an entry order creates a one-cancels-other bracket, and its sharp edge is that the child orders are only placed if the parent fully fills — cancel a partially filled entry and the children cancel too, leaving your filled size unprotected.

Trigger price
Mark price, not the last trade
Market TP/SL
Built-in 10% slippage tolerance — prioritises the exit
Limit TP/SL
Caps slippage but can rest unfilled in a fast move
Bracket (OCO)
Children placed only if the parent order fully fills
API groupings
normalTpsl = order-tied, fixed size equal to the parent; positionTpsl = position-tied, sized to the whole position
Fixed-size caveat
A manually fixed size does not resize when the position changes

Updated Aug 21, 2026

Referral code

Hyperliquid referral code: HYPERLAB (HyperAcademy's code). New accounts that sign up through https://app.hyperliquid.xyz/join/HYPERLAB, or enter HYPERLAB at https://app.hyperliquid.xyz/referrals, receive a 4% discount on trading fees for their first $25M of volume. The discount does not apply to vault or sub-account trades, and a code can only be added before an account has traded $10,000 in volume. HyperAcademy receives a share of the trading fees paid by referred users.

Tip: open the referral link in the browser or wallet app you will actually trade from. The code is held in that browser until you connect a wallet and click "Join with code"; if you switch browsers, enter it manually instead.

Trade on Hyperliquid →
Stop-Loss, Take-Profit & Bracket Orders
Stop-Loss, Take-Profit & Bracket Orders

What you'll set up

boltKey Points

A take-profit (TP) closes your position at a target gain; a stop-loss (SL) closes it at a maximum loss. Set both at once and you have a bracket. Hyperliquid triggers them off the mark price, and you choose market (fills fast, up to 10% slippage tolerance) or limit (you cap the slippage, but it may not fill in a fast move).

TP/SL, brackets (OCO) and the API names: quick reference

Same mechanics, three vocabularies — the app, the docs, the API. Checked against the Hyperliquid docs as of August 2026.

  • TP/SL — take-profit and stop-loss orders that close a position. Trigger is the mark price; execution is market (10% slippage tolerance) or limit.

  • Bracket (OCO) — TP and SL attached to an entry order; the docs call this one-cancels-other. Children are placed only if the parent fully fills.

  • normalTpsl — the API grouping for that order-tied bracket: fixed size equal to the parent order.

  • positionTpsl — the API grouping for position-tied TP/SL: sized to your whole position by default.

Before you start: two things that change everything

1. The trigger is the mark price, not the last trade

Hyperliquid uses the mark price — a robust, manipulation-resistant index — to decide when a TP/SL fires, not the most recent print. This is deliberate: it stops a single wick on thin liquidity from triggering your stop. So set your levels against the mark, and don't panic if the "last price" briefly pokes through your level without firing.

2. Market vs limit decides fill-vs-slippage

A market TP/SL has a built-in slippage tolerance of 10% — it prioritizes getting you out. A limit TP/SL lets you set the price it works, controlling slippage, but in a violent move it can rest unfilled. The docs give the clean example: an SL to close a long with trigger $10 and limit $10 may just rest at $10 if price gaps from $11 to $9 — whereas a limit of $8 is likely to fill somewhere between $9 and $8. Aggressive limit = more likely to fill, but more slippage. That tradeoff is the whole decision.

A bracket holds the position between a profit ceiling and a loss floor; the mark price decides which one fires.
A bracket holds the position between a profit ceiling and a loss floor; the mark price decides which one fires.

A bracket holds the position between a profit ceiling and a loss floor; the mark price decides which one fires.

Step 1 — The easy way: TP/SL from the position

Once you have an open position, set TP and/or SL directly from the position. By default these size to your entire position and aim to close all of it when triggered — the most beginner-friendly setup, with simple placement and cancellation. Note: if you manually set a fixed size instead, that order becomes fixed and won't resize if your position later changes.

Step 2 — Choose market or limit for the exit

Decide how the exit fills. Pick market if getting out matters more than the exact price (10% slippage tolerance). Pick limit and set a price if you'd rather control slippage and accept the risk it rests unfilled in a fast move. For a protective stop you usually want it to actually fire — so be wary of setting the limit too tight.

Step 3 — Brackets: attaching TP/SL to an entry order (OCO)

You can also attach TP/SL to an entry order from the order form, creating a one-cancels-other bracket. This is more powerful but has a sharp edge worth reading twice: the child TP/SL orders are placed only if the parent order fully fills (or is partially filled and then canceled for insufficient margin). If your entry only partially fills and you cancel it, the child TP/SL are canceled too — leaving your filled size unprotected. For a partial fill you keep, set a fresh TP/SL on the resulting position manually.

Step 4 — Verify the orders are live

After placing, check your open orders and the position panel: your TP and/or SL should be listed against the position. You can also drag them on the TradingView chart to adjust — just note that dragging an order to a level that would execute immediately throws an error (a guard against fat-finger mistakes). Confirming the order is resting is how you know your protection is actually on.

Common mistakes that leave you unprotected

The mistake

What to do instead

Watching last price and thinking your stop "should have" fired

TP/SL trigger on the mark price. Reference the mark, not the last trade, when you set and judge levels.

A tight limit stop that rests instead of filling

In a fast move a limit SL can sit unfilled. Use a market SL, or a limit with enough room to fill, when getting out is the priority.

Assuming a bracket protects a partial fill

If the parent partially fills and you cancel it, the child TP/SL cancel too. Re-set TP/SL on the position you actually hold.

Fixed-size TP/SL after changing position size

A manually fixed size won't resize with the position. Re-check coverage after you add or trim.

Stop so tight it triggers on normal noise

Place the stop beyond routine volatility for the asset, sized by your risk plan — not one tick away.

infoInfo

The point of all this A stop-loss isn't about being right — it's about making your worst case survivable. Decide the loss you'll accept before you enter, then let the order enforce it so you're not negotiating with yourself mid-trade.

Where to go next

  • Risk management core: sizing, the 1% rule, EV — where your stop level comes from

  • Market vs limit orders — the order-type basics underneath TP/SL

  • Margin & leverage management — how liquidation interacts with your stop

  • Live Hyperliquid markets — liquidity before you pick a stop level

  • Is Hyperliquid safe? — risks a stop cannot cover

Sources

Further Reading

Exclusivevia HyperAcademy

Start Trading via HyperAcademy — Get 4% Fee Discount

check_circle4% discount on first $25M volumecheck_circleZero gas feescheck_circle200+ perpetual markets

4% fee discount with referral code HYPERLAB

Start Trading Now →
#orders#stop-loss#risk#tutorial
trending_up
Trade on Hyperliquid4% fee discount
arrow_forward