Trading Mechanics: Margin, Leverage, TP/SL, Funding, and Liquidation
Updated Aug 13, 2026 · 1 min read
TP/SL percentages are on margin, not price: at 10x, a 10% take-profit fires on a 1% move. Plus cross vs isolated margin, funding, and liquidation.
Margin modes
Option A
Cross-margin - Default for crypto
- Positions share margin across the strategy
- More capital efficient
- ✗ Shared liquidation risk
Option B
Isolated margin - Required for XYZ DEX
- Each position has its own margin
- Liquidation is per-position
- ✗ Less capital efficient
You can hold mixed directions across different assets in one strategy (BTC LONG + ETH SHORT in the same sub-wallet). You cannot hold opposing positions on the same asset within one strategy - use separate strategies for that (Strategy types and sub-wallets).
TP/SL
Take-profit and stop-loss percentages are relative to margin (leveraged return), not raw price. At 10x leverage, a 10% TP triggers at a 1% price move. Triggers are all-or-nothing; use edit_position for partial takes (Opening, editing, and closing positions).
Funding rates
Hourly payments between longs and shorts, standard Hyperliquid mechanics. Apply to all open positions. Separate from Senpi's builder fee (Fees, loyalty tiers, and referrals).
Liquidation
For longs, liquidation is approximately entry_price × (1 − 1/leverage). At 10x leverage, that is roughly 9-10% below entry.
For automatic exit management that protects positions before liquidation, see the Exit Management category.
Try it on Senpi
Live margin, leverage, and TP/SL on Hyperliquid.
Related articles
Opening, Editing, Closing, and Canceling Positions
Positions open from a strategy wallet, not your Main Wallet. Partial closes go through resize, not close. Plus why exit price differs from mark.
Tradeable Assets: Crypto, Equities, and XYZ DEX
Trade 275+ perps across crypto, equities, and metals on Hyperliquid, with per-asset leverage limits and case-sensitive symbols.