Margin Modes
Legend supports both margin modes available on Hyperliquid:- Cross margin — the default. Collateral is shared across all cross-margin positions, maximizing capital efficiency. A loss on one position can affect your entire account balance.
- Isolated margin — collateral is locked to a single position. Losses are contained to the margin allocated to that position, but capital efficiency is lower.
