Order Types on Perpetual DEXs

Perpetual futures DEXs offer the same order types as centralized exchanges — market, limit, stop-loss, take-profit, and trailing stop — but executed entirely on-chain or through decentralized order books. Understanding how each order type triggers at specific price levels is critical for managing leveraged positions where liquidation is always one bad move away.

📋 Order Types at a Glance

⚡ Market Order

Execute immediately at the best available price. Guarantees fill but not price. Slippage increases with size.

Speed: Instant | Slippage: Variable

🎯 Limit Order

Set a target entry price. Only fills when the market reaches your price or better. No slippage, but may never fill.

Speed: Conditional | Slippage: Zero

🛑 Stop-Loss

Automatically close your position when price drops to a threshold. Prevents catastrophic losses on leveraged trades.

Purpose: Risk mgmt | Trigger: Below entry

💰 Take-Profit

Lock in gains when price reaches your target. Closes position automatically — no need to watch charts 24/7.

Purpose: Profit lock | Trigger: Above entry

📈 Trailing Stop

A dynamic stop-loss that follows price upward by a fixed offset. Locks in gains while letting winners run.

Purpose: Ride trends | Trigger: Dynamic

📊 Order Trigger Visualization

Watch how each order type triggers on a live price chart. Step through each type to see entry, exit, and trigger mechanics.

Market order: executes instantly at $2,480. You pay the current ask price with potential slippage on large orders.

⚙️ Leverage & Liquidation Calculator

See how leverage affects your liquidation price. Higher leverage means your liquidation price is closer to entry — less room for error.

$2,500
10x
$10,000
Margin (Collateral)
$0
Liquidation Price
$0
Distance to Liq
0%
+10% Move P&L
$0

🏦 DEX Order Capabilities Comparison

Not all perp DEXs support every order type. Here's how GMX, dYdX, and Hyperliquid compare.

GMX (v2)

Market Orders
Limit Orders
Stop-Loss
Take-Profit
Trailing Stop
Max Leverage100x
Order BookOracle-based
Chainlink oracle pricing. No slippage on small trades. Execution keepers fill orders.

dYdX (v4)

Market Orders
Limit Orders
Stop-Loss
Take-Profit
Trailing Stop
Max Leverage20x
Order BookFull CLOB
Cosmos appchain with off-chain matching. Full central limit order book. Sub-second finality.

Hyperliquid

Market Orders
Limit Orders
Stop-Loss
Take-Profit
Trailing Stop
Max Leverage50x
Order BookFull CLOB
Custom L1 with on-chain order book. CEX-like speed. Maker rebates and taker fees.

⚠️ On-Chain Execution Risks

Order execution on DEXs differs from CEXs in critical ways. Understanding these differences can save your position.

Oracle Latency

Oracle-based DEXs (GMX) update prices every few seconds. In fast crashes, your stop-loss may execute at a significantly worse price than set. Keepers must submit the transaction, adding delay.

Keeper Execution

Conditional orders (stop-loss, take-profit) rely on keeper bots to trigger them. During network congestion, keepers may be slow or orders may execute out of sequence.

Price Impact on AMM-Based DEXs

Large market orders move the virtual AMM price against you. A $1M market order on GMX may see 0.1-0.5% price impact depending on pool depth and open interest.

Guaranteed Execution (CLOB DEXs)

Order book DEXs like dYdX and Hyperliquid match orders deterministically. Your limit order fills exactly at your price or not at all — no oracle delay, no keeper dependency.