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.
🎯 Limit Order
Set a target entry price. Only fills when the market reaches your price or better. No slippage, but may never fill.
🛑 Stop-Loss
Automatically close your position when price drops to a threshold. Prevents catastrophic losses on leveraged trades.
💰 Take-Profit
Lock in gains when price reaches your target. Closes position automatically — no need to watch charts 24/7.
📈 Trailing Stop
A dynamic stop-loss that follows price upward by a fixed offset. Locks in gains while letting winners run.
📊 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.
🏦 DEX Order Capabilities Comparison
Not all perp DEXs support every order type. Here's how GMX, dYdX, and Hyperliquid compare.
GMX (v2)
dYdX (v4)
Hyperliquid
⚠️ On-Chain Execution Risks
Order execution on DEXs differs from CEXs in critical ways. Understanding these differences can save your position.
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.
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.
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.
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.