Understanding Hyperliquid's Unified Margin Mode and Spot Trading on HyperX
A deep dive into Hyperliquid's unified margin mode, how it differs from isolated and cross margin, and how HyperX now provides full portfolio visibility across perp and spot positions.
The Evolution of Margin Modes on Hyperliquid
If you have traded perpetual futures, you know the choice between isolated margin and cross margin. Isolated confines risk to a single position. Cross margin shares your entire perp balance across all open positions — more capital-efficient, but a catastrophic loss on one position can drain everything.
Hyperliquid has introduced a third option: Unified Margin Mode. In unified margin, your perpetual futures balance and your spot token holdings share the same margin pool. This fundamentally alters how margin is calculated, how capital efficiency works, and how you should interpret a trader's portfolio.
For anyone using HyperX to discover, analyze, or copy traders on Hyperliquid, understanding unified margin is essential. A trader's apparent leverage, margin ratio, and risk profile all look different under unified margin. HyperX has been updated to handle these differences correctly, and this post explains what changed and why it matters.
What Is Unified Margin?
In a traditional exchange account structure, your perpetual futures balance and your spot balance are separate pools. If you have $50,000 in your perp account and $30,000 in spot holdings, your perp positions can only draw margin from the $50,000 perp balance. Your spot assets sit in a completely separate account, contributing nothing to your margin requirements.
Unified margin eliminates this separation. When a Hyperliquid account enables unified margin mode, the perp and spot balances merge into a single margin pool. That same trader now has $80,000 of effective margin backing their perpetual positions. Their spot holdings — whether ETH, BTC, or any other token traded on Hyperliquid's spot market — count toward their available margin.
This has several immediate consequences:
- Higher effective margin. The trader can open larger positions or withstand larger drawdowns before facing liquidation, because their spot holdings provide additional collateral.
- No need to transfer between accounts. In a segregated setup, traders frequently move funds between perp and spot accounts to manage margin requirements. With unified margin, this is unnecessary — the balances are already shared.
- Spot holdings as implicit collateral. A trader holding $20,000 in ETH spot is not just making a directional bet on ETH. That ETH is also serving as margin for their perpetual positions, which means selling the spot position would simultaneously reduce their available margin.
How It Differs from Isolated and Cross Margin
Isolated Margin allocates a fixed amount of margin to each position independently. If your BTC long gets liquidated, only that position's margin is lost. Safest for containing damage, but the least capital-efficient.
Cross Margin shares your entire perp balance across all perp positions. Unrealized profits from one position can offset losses on another. More efficient, but a catastrophic loss can drain your full perp balance.
Unified Margin extends cross margin by including spot holdings in the shared pool. Perp balance, spot token holdings, and unrealized PnL across both contribute to a single margin calculation. The most capital-efficient option, but your spot and perp portfolios become financially intertwined.
Why Unified Margin Matters for Copy Trading
If you are using HyperX to analyze and copy traders on Hyperliquid, unified margin changes several things about how you should interpret the data.
Margin Ratios Look Different
A trader using unified margin may show a healthier margin ratio than you would expect given their perp positions and perp balance alone. When you see a trader maintaining 15x leverage on a large BTC position with seemingly modest perp balance, the explanation may be significant spot assets providing additional collateral. Without understanding this, you might misjudge their risk management — they are not being reckless, they have substantial collateral that a perp-only view would miss.
Transfer Behavior Changes
In a segregated account, observing when a trader moves funds between spot and perp reveals intentions — adding margin to a losing position or locking in profits. With unified margin, these transfers are impossible since the balances are already shared. If you notice the absence of perp-to-spot transfers on a unified margin trader, that is simply because the structure makes them unnecessary.
Portfolio Analysis Requires the Full Picture
Analyzing a unified margin trader based solely on their perp positions gives you an incomplete picture. A trader might appear to be running a straightforward BTC long strategy, but their full portfolio reveals significant spot holdings in ETH and SOL serving as both directional bets and margin collateral. For unified margin traders, seeing both perp and spot together is essential for accurate analysis.
How HyperX Handles Unified Margin
HyperX has been updated to detect and properly handle unified margin accounts across the platform. Here is what changed and how it affects your experience.
Automatic Margin Mode Detection
When you view any trader on HyperX, the platform uses Hyperliquid's userAbstraction API to detect whether the account is using unified margin, cross margin, or isolated margin. This detection happens automatically and is reflected in how all subsequent calculations are performed for that trader.
Correct Margin Ratio Calculations
For unified margin accounts, HyperX now calculates margin ratios using the combined perp and spot balance, matching what Hyperliquid itself uses. Previously, showing only the perp balance would display an artificially low margin ratio. The corrected calculation gives you an accurate picture of the trader's actual liquidation risk.
Smart Transfer Handling and Merged Balance Display
When viewing a unified margin account, HyperX disables the perp-to-spot transfer interface since these transfers are not applicable — you will not see a transfer option that would fail if attempted. The wallet balance section shows the merged view with the total balance across perp and spot in a single figure, matching the reality of how unified margin works.
The New Spot Trading Visibility
Alongside the unified margin support, HyperX has added comprehensive spot position visibility. This applies to all traders, not just those using unified margin, and it significantly expands what you can learn from analyzing a wallet.
Perp Value vs. Spot Value Breakdown
The trader summary header now displays a breakdown into perp value and spot value. At a glance, you can see what proportion of a trader's capital is in perpetual positions versus spot tokens:
- 90% perp / 10% spot — Aggressively leveraged, primarily focused on derivatives.
- 50% perp / 50% spot — Balanced approach with significant spot exposure alongside perps.
- 20% perp / 80% spot — Primarily a spot holder who uses perpetuals selectively for hedging or tactical trades.
This breakdown helps you match copy trading selections to your own risk tolerance.
Spot Positions Tab
A dedicated Spot tab in the trader analysis view shows all current spot holdings for the wallet — quantity held and current value for each token. This answers questions that were previously impossible to resolve from perp data alone.
For example, a trader might show mediocre perp PnL, but their spot portfolio reveals a large position in a token that has appreciated significantly. Their total portfolio performance is strong — it was just happening on the spot side. Without spot visibility, you would have dismissed this trader based on incomplete data.
Complete Portfolio Analysis
With both perp positions and spot holdings visible, HyperX now provides a complete picture of a trader's portfolio. This is particularly valuable for several analysis scenarios:
Hedged positions. A trader might be long ETH spot and short ETH perp — a delta-neutral position designed to collect funding payments. In a perp-only view, you see a short position and might assume the trader is bearish. The full portfolio view reveals the hedge and the true strategy: funding rate arbitrage.
Collateral management. For unified margin users, you can now see exactly which spot assets are providing collateral for perp positions. If a trader's perp margin ratio depends heavily on a volatile spot holding, that is a risk worth understanding before copying their trades.
Diversification assessment. The combined view lets you evaluate how diversified a trader truly is. A trader might have five perp positions that all look different (long BTC, long ETH, short SOL, etc.) but hold 80% of their spot portfolio in a single token. The apparent diversification in perps is offset by heavy concentration in spot.
Practical Implications for HyperX Users
Evaluating Traders and Liquidation Risk
When analyzing a trader on HyperX, check both the perp positions and the spot holdings. A unified margin trader who appears to be running high leverage may actually have a comfortable margin ratio because of substantial spot holdings. Conversely, if their spot holdings are concentrated in a volatile token that drops sharply, their perp positions could face liquidation even if the perp trades themselves are profitable. Do not judge a unified margin trader by perp metrics alone.
Copy Trading Considerations
When copying a unified margin trader, you are only replicating their perp trades, not their spot portfolio. Your effective margin on those copied positions will differ from theirs. If the trader maintains a large spot portfolio as collateral, their perp positions have more margin backing than yours will. You may need to allocate proportionally more capital or use lower leverage to maintain a comparable risk level.
This is one of the most important practical takeaways: a 10x long with $100,000 of spot collateral behind it is a fundamentally different bet than a 10x long backed only by $20,000 of perp margin.
Spotting Strategy Changes
Monitoring how a trader's perp-to-spot ratio changes over time reveals strategic shifts. A trader who normally runs 70% perp and 30% spot suddenly shifting to 30% perp and 70% spot is de-risking — a signal that they expect increased volatility or reduced opportunity in perp markets.
Frequently Asked Questions
How do I know if a trader is using unified margin? HyperX automatically detects the margin mode for every account. The margin calculations and balance displays you see already reflect the correct mode. The platform handles this transparently so you always see accurate data regardless of the trader's margin configuration.
Does unified margin affect how copy trading works? Copy trading replicates perp positions only. It does not replicate spot holdings. This means that if you copy a unified margin trader, your margin situation will differ from theirs. Factor this into your position sizing and leverage settings.
Can I see a trader's spot positions even if they use regular cross margin? Yes. The spot positions tab shows holdings for all traders, regardless of their margin mode. Spot visibility is independent of the margin configuration.
Why can I not transfer between perp and spot for some traders? If you are viewing a unified margin account, the transfer function is disabled because perp and spot balances are already shared in a single pool. There is nothing to transfer. This is a feature of unified margin, not a limitation of HyperX.
Does holding spot tokens always improve my margin ratio in unified margin? It depends on the token. Hyperliquid applies haircuts to spot collateral based on liquidity and volatility. Major tokens like BTC and ETH contribute more margin value than smaller, more volatile tokens. Your spot portfolio's effective collateral value may be less than its notional market value.
Should I enable unified margin on my own account? If you hold significant spot positions and trade perps actively, unified margin gives you better capital efficiency. If you prefer strict separation between spot investments and leveraged trading, keeping them separate provides clearer risk boundaries. There is no universally correct answer.