When HyperliquidX added trailing stoploss features, decentralized perpetual traders gained the ability to automatically secure profits as the market moves favorably. By selecting this order type in the L1 interface, you can input a trailing distance of 1% or more to dynamically lock in gains on-chain. This native, high-performance tool executes within sub-second block times, eliminating the manual upkeep of active positions.
Key takeaways
- Hyperliquid is built on its own custom Layer 1 appchain, featuring sub-second block times to execute native triggers like trailing stops.
- Trailing stops track the highest high (for longs) or lowest low (for shorts) of an open position to adjust execution triggers dynamically.
- Algorithmic traders can configure custom trailing parameters programmatically using the official Hyperliquid Python or Rust SDKs.
- Prop platforms like MyFundedPerps integrate with these decentralized tools, making trailing stops vital for protecting simulated balances from daily drawdown limits.
- Trailing orders on the platform utilize a native on-chain clearinghouse model that processes all margin and PnL settlements directly on the L1 engine.
HyperliquidX Added Trailing Stoploss: How It Compares to Standard Stops
The Hyperliquid trailing stop loss is a dynamic order type that automatically adjusts its trigger price behind a favorable market trend by a specified percentage or absolute distance, whereas standard stops remain fixed at a predetermined price. By tracking the peak price of an active perpetual position, this native decentralized perpetual trailing stop secures profits incrementally during favorable market expansion while capping downside risk without manual order adjustment.
When HyperliquidX added trailing stoploss functionality to its Layer 1 appchain, it bridged a significant gap between centralized exchanges and non-custodial decentralized trading. Built on a custom L1 network optimized for sub-second block times, the platform executes native trigger orders seamlessly on-chain. This structural design ensures that your Hyperliquid trading strategy runs with minimal latency, operating directly within a clearinghouse model where all margin requirements, liquidations, and PnL settlements are computed natively on-chain.
Unlike traditional Ethereum-based applications that rely on third-party keeper networks or latency-prone oracle feeds to trigger stop-losses, the L1 appchain handles everything in-house. When a price tick updates on the native order book, the validator state transition logic immediately evaluates whether your trigger condition has been met. This native handling means your stop orders do not compete in a general-purpose gas war; instead, they are executed deterministically at the protocol level.
Dynamic Tracking vs. Static Limits
Traders navigating the diverse suite of Hyperliquid order types must choose between the absolute defense of standard stops and the adaptive nature of trailing orders. While a standard stop-loss (Stop Market or Stop Limit) remains anchored to your initial risk invalidation price, the Hyperliquid app trailing stop shifts automatically. It monitors the peak price—the highest high for long positions, or the lowest low for shorts—and recalculates the trigger price based on your chosen callback parameters.
To put this in perspective, imagine executing a long position on Ethereum (ETH) at $3,000. If you deploy a standard stop-loss at $2,900, your maximum risk is locked at $100 per unit. If the market rallies aggressively to $3,500 and then suffers a sudden, violent reversal back to $2,850, your standard stop-loss will trigger at $2,900. You protected your capital from a deeper crash, but you watched a $500 move go completely to waste.
With a trailing stop configured at a $100 price offset, the mechanics shift entirely. As the price climbs from $3,000 to $3,500, the trigger price diligently climbs alongside it, maintaining that exact $100 safety buffer. At the peak price of $3,500, your dynamic trigger is sitting comfortably at $3,400. When the market reverses, your position is closed at $3,400, locking in a substantial $400 net profit per unit.
| Feature | Standard Stop-Loss (Static) | Trailing Stop-Loss (Dynamic) |
|---|---|---|
| Trigger Price | Remains fixed at a pre-set price point. | Dynamically tracks peak market prices. |
| Execution Trigger | Touches a single, hard-coded price coordinate. | Triggers when price retraces by the set trailing distance. |
| Primary Function | Strict loss prevention and hard risk invalidation. | Lock-in profits during trends while mitigating downside. |
| On-Chain Processing | Evaluated continuously via the native L1 engine. | Evaluated continuously relative to the position's peak price. |
| Margin Support | Applies to both Cross and Isolated Margin modes. | Applies to both Cross and Isolated Margin modes. |
Tailoring Execution to Your Risk Profile
Choosing among these Hyperliquid stop loss options dictates how your capital is protected during sudden market shifts. For example, standard stops are essential for preventing catastrophic account wipeouts or managing liquidations under high leverage. However, standard stops do not capture intermediate profits; if a trade goes deep into profit and then reverses, a static stop can still result in a loss unless manually moved.
In contrast, the dynamic trailing mechanism eliminates the need to constantly monitor charts. For algorithmic traders, configuring a Hyperliquid SDK trailing stop allows automated scripts to lock in gains programmatically as trends develop. For retail and professional prop firm traders alike—including those attempting evaluations on platforms like MyFundedPerps (save 20% on evaluations with code CRITIC) (see our MyFundedPerps review) or Propr (see our Propr review)—using trailing stops is highly effective for passing strict drawdown and consistency tests. By automatically locking in gains, you prevent winning trades from retracing into daily drawdown limits, protecting your funded account equity.
Think of it as putting your trade management on autopilot: you establish your initial thesis, define your risk tolerance, and let the protocol-level engine handle the tedious job of manual trail-shifting.
How to Set Trailing Stop on Hyperliquid UI (Step-by-Step)

To set a trailing stop-loss on the Hyperliquid UI, open the place order panel, select the trailing stop order type, and input your trailing distance as either a percentage or an absolute price offset. After choosing your margin mode, confirm and execute the order to dynamically secure your position.
The official roll-out of this feature, announced after @HyperliquidX added trailing stoploss capabilities to its Layer 1 appchain, simplifies risk management on the decentralized perpetual exchange. Here is how to configure and execute this order type step-by-step.
Step 1: Open the Place Order Panel
Log into the Hyperliquid trading interface and select your target perpetual market (e.g., BTC, ETH, or native L1 ecosystem tokens). Navigate to the execution module on the right side of the screen, which houses your primary order entry ticket.
By default, this panel displays standard options like limit and market orders. To access the trailing stop functionality, locate the advanced order selection drop-down menu situated directly below the main order types. Click this menu to expand the full suite of native triggers, and select "Trailing Stop" from the list.
Step 2: Define Your Trailing Parameters
Once the Hyperliquid app trailing stop menu is active, you must configure how the trigger tracks the market. This requires setting your trailing distance, which determines how closely the stop follows the peak price. You can choose between two main configurations:
| Parameter Type | How It Works | Best Used For |
|---|---|---|
| Percentage Offset (%) | Tracks the peak price by a set percentage (e.g., 2%). | Volatile assets with wide price swings. |
| Absolute Price Offset ($) | Tracks the peak price by a fixed dollar value (e.g., $150). | Assets with stable, predictable intraday ranges. |
When inputting these parameters, precision is everything. A percentage offset of 1% to 3% is common for mid-cap assets, whereas larger assets like Bitcoin may benefit from a fixed dollar offset tailored to the daily average true range (ATR).
Optionally, you can define an "Activation Price." If left blank, the decentralized perpetual trailing stop activates immediately at the current market price, establishing your entry price as the initial peak. If specified, the trailing trail only begins once the asset crosses that specific threshold, allowing you to give the trade some initial room to breathe before the dynamic stop-loss kicks in.
Step 3: Manage Your Margin Mode (Cross vs. Isolated)
Before executing, you must manage how your position margin interacts with your automated exit. On Hyperliquid, all margin requirements and liquidations are computed natively on-chain, meaning your margin mode choice directly alters your risk profile.
- Isolated Margin: This mode confines your risk to a single position's assigned collateral. Setting a Hyperliquid trailing stop loss here ensures you lock in profits before the position reaches its isolated liquidation price. This is highly recommended for high-leverage scalping where individual position isolation is crucial.
- Cross Margin: This mode shares margin across your entire account equity. When configuring your trailing stop under Cross Margin, ensure your trailing distance is wide enough to tolerate minor price wicks, yet tight enough to trigger execution before a cascading market move threatens your entire account balance. This requires balancing your overall account leverage with the dynamic nature of the trailing stop.
Step 4: Confirm and Execute the Order
Before you hit the final execution button, there is one non-negotiable checkbox you must locate: the "Reduce Only" toggle. Ticking this box is critical. It guarantees that the trailing stop will only close or decrease your active trade, rather than accidentally opening a reverse position.
Without "Reduce Only" selected, if you manually exit the trade early and forget to cancel the trailing stop, a sudden market reversal could trigger the stop-loss as a fresh, unintended short or long position.
Once you have verified your trailing distance, activation price, margin mode, and confirmed the "Reduce Only" status, click the buy/long or sell/short trigger button. The UI translates these parameters into an on-chain transaction, writing your native trigger parameters directly to the Layer 1 validator set, where they will be actively monitored.
Mastering how to set trailing stop on Hyperliquid is a critical skill for prop traders utilizing evaluation platforms. For instance, traders on MyFundedPerps (eligible for 20% OFF with code CRITIC) or Propr rely on these precise risk configurations to pass strict simulated drawdown tests without having to stare at their monitors for twelve hours a day.
Configuring Programmatic Orders via the Hyperliquid SDK

Programmatic trailing stop-loss orders can be deployed on Hyperliquid by utilizing the official Hyperliquid Python or Rust SDKs to interact directly with its custom Layer 1 appchain. Developers can define parameters like callback rates, trigger prices, and activation offsets natively within their code to execute automated, high-frequency trailing stop strategies.
Native Execution on Hyperliquid L1
Unlike traditional decentralized applications built on general-purpose blockchains, Hyperliquid operates on its own dedicated Layer 1 appchain. According to the official Hyperliquid documentation, this custom infrastructure achieves sub-second block times, allowing for rapid execution of native trigger orders.
When utilizing a Hyperliquid SDK trailing stop, your orders are processed directly by an on-chain clearinghouse. This architecture ensures that all margin requirements, liquidations, and PnL settlements are computed natively on-chain without relying on slower, off-chain keeper networks or centralized relayers.
Following official announcements from developer channels confirming that HyperliquidX added trailing stoploss functionality to its protocol, algorithmic traders have been able to programmatically deploy these advanced risk controls. For developers designing a custom Hyperliquid trading strategy, this native integration is a significant advantage. Because the platform natively supports diverse Hyperliquid order types—including Limit, Market, Stop Market, Stop Limit, Take Profit Market, and Take Profit Limit—programmatic execution remains highly reliable. While manual traders often seek tutorials on how to set trailing stop on Hyperliquid via the web interface, SDK developers can run continuous scripts that dynamically adjust parameters.
Programmatic Parameters for Trailing Stops
To construct a decentralized perpetual trailing stop using the API, developers must pass specific payload parameters to the exchange’s order placement endpoint. This programmatically replicates the Hyperliquid app trailing stop behavior by defining the trailing distance relative to the peak asset price observed after order activation.
| Parameter Name | Data Type | Description |
|---|---|---|
order_type |
String | Specifies the trigger type (e.g., Stop Market or Stop Limit). |
callback_rate |
Float | The percentage distance (callback) behind the peak price that triggers the order. |
trigger_price |
Float | The initial price level required to activate the tracking mechanism. |
is_trigger |
Boolean | Must be set to True for conditional and stop-loss orders. |
reduce_only |
Boolean | Ensures the order only closes or reduces an active position to prevent accidental shorts. |
Practical SDK Implementation Steps
To build your custom risk-management script using the official Python SDK, follow these structured steps:
- Initialize the Client: Import your private key and establish a connection to the Hyperliquid mainnet API client. This establishes your authenticated session with the on-chain clearinghouse.
- Define the Order Payload: Structure the payload dictionary to specify the asset pair, size, trade direction, and margin mode (such as Cross Margin or Isolated Margin).
- Configure the Trailing Parameters: Input your desired callback rate to dictate how closely the Hyperliquid trailing stop loss tracks the market price. You can use market indicators like the Average True Range (ATR) to programmatically calculate the optimal callback percentage based on current asset volatility.
- Post the Order: Submit the signed transaction directly to the native L1 engine for execution. Once transmitted, the validator nodes take over, tracking the peak price on-chain until the trigger condition is met.
Application in Algorithmic Prop Trading
Deploying programmatic stops is particularly useful for automated traders participating in decentralized evaluation challenges. Platforms like MyFundedPerps (which offers 20% OFF with code CRITIC) or Propr allow users to trade perpetuals on decentralized infrastructures. Utilizing algorithmic trailing stops ensures compliance with strict consistency rules and protects virtual account balances against daily drawdown limits.
By hardcoding your trailing stop logic directly into your execution script, you eliminate human error and emotional hesitation from your drawdown defense strategy.
How Crypto Prop Firm Traders Use Trailing Stops for Drawdown Protection

Crypto prop firm traders use trailing stops to automatically lock in open profits as a market moves in their favor, securing evaluation targets while preventing sudden reversals from triggering strict daily or maximum drawdown limits. By dynamically adjusting the trigger price behind a profitable trade, this risk management tool ensures that a sudden market dump does not turn a winning trade into an account-terminating loss.
Securing Evaluation Targets with Dynamic Risk Management
In a crypto prop firm challenge on platforms like MyFundedPerps (where traders can get 20% OFF with code CRITIC) or Propr (accessible via our referral link with no code needed), adhering to drawdown rules is the single most critical factor for success. For example, suppose you are managing a $100K evaluation account with a 5% maximum drawdown limit; your total allowed loss is capped strictly at $5,000.
When implementing a Hyperliquid trading strategy, relying solely on static stop-losses can leave a significant amount of unrealized profit vulnerable to sudden market reversals. If your trade floats into a $4,000 profit but quickly reverses, a standard stop-loss at your entry point protects your principal but leaves you with $0 gained toward your evaluation target. By executing a decentralized perpetual trailing stop, the trigger price trails the peak price of your open position at a predefined distance. If the market reverses by your set percentage or absolute price offset, the order triggers, securing a portion of those gains and keeping you on track to hit your profit goals.
Key Differences in Drawdown Protection
Managing risk in a prop account is fundamentally different from managing risk in a personal spot account. Prop accounts do not just measure your absolute downside; they measure your consistency and daily fluctuations.
Using the right stop type determines whether you keep your funded status or head back to the evaluation phase.
| Order Type | Drawdown Protection Level | Mechanism | Best Used For |
|---|---|---|---|
| Standard Stop-Loss | Low (Static) | Triggers at a fixed price regardless of how high the trade went. | Initial trade entry protection. |
| Take-Profit (Limit/Market) | Medium (Fixed Target) | Closes the entire position at a single predetermined target. | Hitting rigid resistance/support levels. |
| Hyperliquid trailing stop loss | High (Dynamic) | Dynamically tracks peak price, keeping the stop-loss a set distance behind. | Capturing extended trends while securing profits. |
Mitigating Liquidation and Slippage Risks on On-Chain Platforms
According to Hyperliquid’s official documentation, the platform operates as a high-performance decentralized perpetual exchange built on its own custom L1 appchain, featuring sub-second block times for rapid execution of native trigger orders. However, prop traders must remain highly vigilant about execution mechanics.
When the developers announced HyperliquidX added trailing stoploss functionality, it provided a massive upgrade for retail and programmatic traders alike. However, in highly volatile markets, price wicks may trigger a liquidation before a trailing stop-loss can execute if your leverage is excessively high.
Additionally, trailing stops that trigger as market orders are subject to slippage, particularly during periods of low liquidity or extreme market movements. Because of this, prop firm rules dictate that trailing stops do not guarantee absolute protection against sudden daily drawdown breaches if slippage occurs during a major market flash crash. Traders should combine their trailing stop strategies with conservative leverage to ensure their prop accounts remain protected under all market conditions.
Mitigating Slippage and Liquidation Risks with Hyperliquid Order Types
To mitigate slippage and liquidation risks on Hyperliquid, traders must configure precise trigger execution parameters and use dynamic order options like trailing stops to protect account equity during high-volatility wicks. Combining defensive trigger configurations with appropriate margin modes ensures orders execute reliably on-chain without triggering catastrophic liquidations or daily drawdown breaches.
Trigger Execution Styles vs. Market Slippage
Because Hyperliquid is a high-performance decentralized perpetual exchange built on its own custom, non-custodial Layer 1 appchain, it features sub-second block times. However, during periods of extreme market volatility, rapid block execution cannot completely eliminate transaction slippage.
When utilizing native Hyperliquid order types, traders must understand how different triggers interact with the on-chain order book. Market triggers guarantee execution but expose the trader to slippage, while limit triggers protect execution price but risk not filling if the market gaps.
| Order Type | Trigger Style | Liquidation Protection | Slippage Risk |
|---|---|---|---|
| Stop Market | Executed immediately at current market price once trigger is hit. | High (guarantees exit) | High (extreme slippage during wicks) |
| Stop Limit | Places a limit order in the book once the trigger price is touched. | Low (order may remain unfilled) | Zero (fills only at limit price or better) |
| Trailing Stop | Dynamically tracks peak price, triggering a market order when trend reverses. | High (secures profits and limits downside) | Moderate to High (upon market execution) |
Understanding this trade-off is critical. A Stop Limit order might look attractive because it prevents slippage, but in a rapid market crash, the price can easily gap completely past your limit price, leaving your position open and exposed to total liquidation.
The trailing stop-loss, acting as a dynamic market trigger, strikes an excellent middle ground by securing profits on the way up, ensuring that even if some slippage occurs during a reversal, the position is closed at a vastly superior price compared to a deep, static stop-loss.
Configuring Trailing Stops Defensively
Now that the official update from @HyperliquidX added trailing stoploss capabilities to the native Layer 1, traders can utilize a more adaptive Hyperliquid trading strategy. To configure a decentralized perpetual trailing stop defensively, consider the following parameters:
- Select Margin Mode Wisely: Choosing between Cross Margin and Isolated Margin modes directly impacts your liquidation threshold. Under Isolated Margin, your risk is capped to the margin allocated to that specific position, preventing a cascading failure of your entire balance if extreme slippage occurs.
- Set Realistic Trailing Distances: Avoid setting your trailing offset too tight. Highly volatile assets often experience brief pullback wicks before continuing their primary trend. A wider trailing distance protects against premature stop-outs during temporary consolidations.
- Utilize Activation Prices: Configure your Hyperliquid stop loss options with an explicit activation price. This ensures the trail only begins tracking once the trade has reached a predetermined level of profitability, preserving your initial risk parameters.
- Programmatic Safeguards: If you are managing risk algorithmically, you can use the Hyperliquid SDK trailing stop parameters to adjust offsets programmatically, helping you scale out of positions based on real-time asset volatility.
Critical Considerations for Prop Firm Traders
For funded traders utilizing platforms such as MyFundedPerps (available at 20% OFF with code CRITIC), Propr (no code required), or Crypto Fund Trader (available at 5% off with code platinum5), keeping daily drawdowns in check is a strict requirement.
While using a Hyperliquid trailing stop loss is highly effective for protecting capital, it does not guarantee absolute protection against sudden daily drawdown breaches if a catastrophic market flash crash occurs. Because the platform uses a clearinghouse model where all margin requirements and liquidations are computed natively on-chain, unexpected slippage on market orders can still push a balance past a prop firm's daily threshold before the transaction completes.
To offset this risk, traders should maintain a conservative buffer between their trailing stop triggers and their maximum daily drawdown limits, and avoid using maximum leverage on highly volatile assets during high-impact news events.
Frequently Asked Questions
Does Hyperliquid support trailing stop-loss orders?
Yes, Hyperliquid natively supports trailing stop-loss orders. The platform’s Layer 1 appchain allows traders to place dynamic trigger orders directly on-chain. This feature tracks the peak price of an open position and automatically adjusts the exit price by a set percentage or absolute value, allowing you to secure profits hands-free.
How do you set up a trailing stop-loss on Hyperliquid?
To set up a trailing stop-loss on the Hyperliquid UI, open the place order panel, expand the advanced options, and select "Trailing Stop." Enter your preferred trailing distance (either as a percentage or absolute offset), tick the "Reduce Only" box, and click execute to write the order to the native L1 engine.
What is the difference between a standard stop-loss and a trailing stop on Hyperliquid?
A standard stop-loss remains fixed at a predetermined price level regardless of how far the trade moves into profit. In contrast, a trailing stop-loss dynamically tracks the asset's peak price, moving the trigger price upward (for longs) or downward (for shorts) to lock in gains while preserving downside protection.
Can you configure programmatic trailing stops using the Hyperliquid API/SDK?
Yes, developers can configure trailing stop-losses programmatically using the official Hyperliquid Python or Rust SDKs. By structuring an order payload with specific trigger parameters, such as a callback rate and a reduce-only flag, automated trading scripts can manage position exits directly on Hyperliquid's custom Layer 1 appchain.
How can prop firm traders leverage trailing stop-losses on decentralized platforms?
Prop firm traders can use trailing stop-losses to protect their virtual accounts from breaking strict daily and maximum drawdown limits. By automatically locking in profits during favorable market extensions, trailing stops prevent winning positions from retracing into losses, which is critical for passing evaluations on platforms like MyFundedPerps.



