Hyperliquid Funding Rate Arbitrage: A Practical Guide
Funding rate arbitrage is one of the more established market-neutral strategies in crypto derivatives. The basic idea is simple: take a long or short position in a perpetual futures market, hedge it with the opposite position in spot, reduce directional price exposure, and collect the funding rate spread when conditions are favorable.
When funding rates on Hyperliquid perps are unusually high, the expected carry from this strategy can become attractive. This guide walks through the logic, execution steps, and key risks of running a funding rate arbitrage strategy on Hyperliquid, with OneKey Perps as a practical workflow for position management.
How funding rate arbitrage works
Perpetual futures do not expire. Instead, they use a funding rate mechanism to keep the perp price close to the underlying spot/index price. On Hyperliquid, funding is settled once per hour. The rate is determined by the premium between the mark price and index price, plus a base interest component.
When the funding rate is positive (r > 0):
- Longs pay shorts:
r × position notional - Short perp + long equal-value spot = collect funding while hedging price direction
When the funding rate is negative (r < 0):
- Shorts pay longs:
|r| × position notional - Long perp + short equal-value spot = collect funding while hedging price direction
A simplified net return formula is:
Net return per funding period ≈ Notional value × |Funding rate| − Trading fees − Borrowing costs
The goal is not to predict whether the asset price goes up or down. The goal is to earn the funding payment while keeping the perp and spot legs as close to delta-neutral as possible.
How to choose the right market
Not every coin with an extreme funding rate is suitable for arbitrage. Before entering, evaluate:
- Funding rate level and whether it has persisted for more than one funding interval
- Spot and perp liquidity
- Spread and expected slippage
- Trading fees on both legs
- Borrowing costs if the spot hedge requires borrowing assets
- Margin requirements and liquidation buffer
- Protocol, exchange, and execution risk
You can scan Hyperliquid markets in bulk using the Hyperliquid funding rate API, then sort assets by the absolute value of their current funding rate to identify potential opportunities.
Step-by-step example: positive funding rate
Assume SOL perps on Hyperliquid are showing a sustained hourly funding rate of 0.05%, roughly 43.8% annualized before costs. You plan to run a hedge with 10,000 USDC notional.
Step 1: Estimate all costs
Before entering, calculate the full cost stack:
- Hyperliquid maker/taker fees: refer to the official fee schedule
- Spot trading fees on the venue you use
- Borrowing costs, if you need to borrow assets to short spot on a CEX
- Expected slippage on both the perp and spot legs
- Gas costs if using an on-chain DEX for the spot leg
The headline funding rate is not your net return. Fees, spread, borrow, and execution costs can materially reduce or eliminate the edge.
Step 2: Open the hedged position
For positive funding, shorts receive payments from longs. The basic structure is:
Short SOL perp: 10,000 USDC notional, for example at 1× leverage
Long SOL spot: 10,000 USDC equivalent
Possible spot hedge venues include:
- Hyperliquid spot markets, if the asset is supported and liquidity is sufficient
- A centralized exchange such as Binance using SOL/USDT or SOL/USDC spot
- An on-chain DEX, while accounting for gas, price impact, and MEV risk
The two legs should be executed as close together as possible. If one leg fills and the other does not, you temporarily carry unhedged directional exposure.
Step 3: Monitor and rebalance
After the hedge is live, directional price risk is reduced in theory, but the position still requires active monitoring.
Check regularly that:
- The perp and spot quantities remain aligned
- Fees, transfers, or any other activity have not created a position mismatch
- Perp margin is comfortably above the minimum maintenance requirement
- Funding remains favorable enough after costs
- Spreads and liquidity remain acceptable
A common mistake is treating funding arbitrage as “set and forget.” It is not. The position can become unsafe if margin is too thin or if the funding rate changes direction.
Step 4: Define exit conditions
You should know when to close before entering. Common exit triggers include:
- Funding rate returns close to zero or flips against the position
- Net expected return no longer compensates for the risk and cost
- Your target return has been reached
- Market conditions become abnormal, such as extreme volatility or exchange/protocol stress
- Liquidity deteriorates and rebalancing becomes difficult
For a positive funding trade, closing means buying back the short perp and selling the spot hedge. For a negative funding trade, it would be the reverse.
Key risks to understand
1. Liquidation risk
Even if the strategy is hedged on a portfolio basis, the perp leg can still be liquidated if margin is insufficient. For example, if the perp position is margined separately and the market moves sharply, the spot leg may gain value while the perp account still lacks enough collateral to avoid liquidation.
Practical controls:
- Use conservative leverage
- Keep the perp margin ratio well above the minimum requirement
- Set price and margin alerts
- Avoid concentrating too much capital in a single position
2. Funding rate reversal risk
Funding rates can change quickly. A trade that was collecting funding can begin paying funding if the rate flips. This may not cause an immediate principal loss, but it can turn the strategy from positive carry to negative carry.
Practical controls:
- Set a minimum funding threshold
- Exit or reduce size when funding falls below that threshold
- Monitor funding history, not just the current rate
3. Execution risk
The perp and spot legs must be filled at nearly the same time. If only one side fills, you are exposed to price movement.
Limit orders can reduce slippage, but they introduce fill risk. Market orders improve execution certainty, but can create higher slippage. The right choice depends on market depth, position size, and urgency.
4. Counterparty and protocol risk
Hyperliquid is a decentralized protocol, so users do not rely on a traditional centralized exchange custody model in the same way. However, smart contract risk, oracle risk, bridge risk, frontend risk, and broader protocol risk still exist.
If the hedge uses a centralized exchange for the spot leg, you also introduce CEX custody, withdrawal, and operational risk.
5. Cross-platform basis and transfer risk
If your perp is on Hyperliquid and your spot hedge is on another venue, prices may diverge temporarily. Moving funds between platforms can also take time, especially during congestion or market stress.
This matters because a theoretically hedged position may still face short-term liquidity and settlement constraints.
Using OneKey Perps for funding arbitrage workflows
Funding rate arbitrage involves frequent trading, monitoring, and wallet interactions. Security matters, especially if you are managing positions across on-chain venues and perpetual markets.
OneKey hardware wallets protect private keys offline, so transaction signing requires the physical device. Even if a strategy dashboard, browser session, or trading environment is compromised, the attacker cannot sign transactions without the hardware wallet.
OneKey Perps supports Hyperliquid perpetual trading with a clear position interface and fast close-position workflows, which makes it practical for managing hedged arbitrage positions. You can monitor exposure, review positions, and act quickly when funding conditions change.
If you plan to run this type of strategy, download OneKey, connect your wallet, and try OneKey Perps for Hyperliquid perp position management. Start small, test the full workflow, and scale only after you understand the costs and risks.
FAQ
Q1: Is funding rate arbitrage risk-free?
No. Hedging can reduce directional price risk, but it does not remove liquidation risk, execution risk, funding reversal risk, liquidity risk, or protocol/exchange risk. Arbitrage lowers certain risks; it does not eliminate risk.
Q2: What is the minimum capital required?
In theory, any amount can be used. In practice, funding arbitrage usually makes more sense with several thousand USDC or more in notional value, because fees and slippage can consume a large share of returns on small positions.
Q3: How often does Hyperliquid funding settle?
According to Hyperliquid’s official documentation, funding is settled once per hour. Positions automatically pay or receive funding at settlement.
Q4: How can I screen for high funding rate markets in bulk?
You can call the metaAndAssetCtxs API endpoint to retrieve current funding rates across assets, then sort by absolute funding rate to identify the highest-rate markets. For deeper analysis, review historical funding data rather than relying only on the current snapshot.
Q5: What if the spot asset is available on Hyperliquid but liquidity is weak?
You can place the spot hedge on a more liquid centralized exchange, such as Binance, and run a cross-platform structure: Hyperliquid perp plus CEX spot. In that case, pay close attention to price differences, transfer times, withdrawal limits, and custody risk.
Risk disclaimer
This article is for educational purposes only and does not constitute investment, legal, tax, or financial advice. Funding rate arbitrage involves complex market, execution, liquidity, liquidation, and protocol risks. Past funding rates do not predict future returns. Any trading decision should be based on your own research, risk tolerance, and ability to absorb potential losses, including loss of principal.



