Funding Rate Arbitrage: Earn Passive Income on Perpetual DEXs
Funding rate arbitrage earns passive income by holding opposite positions on two venues simultaneously — long on the exchange paying a high positive funding rate, short on the exchange receiving it — so the funding payments cancel directional risk and leave a net yield. On perpetual DEXs in 2026, annualized funding rate spreads between venues regularly exceed 20–40% APY on major assets, making this one of the most consistent delta-neutral income strategies available on-chain.
Perpetual futures funding rates exist to anchor contract prices to spot. When longs outnumber shorts, the rate turns positive and longs pay shorts. When shorts dominate, it reverses. Because each DEX has its own order book and its own imbalance, rates diverge constantly across venues. A 2026 Messari research report found that funding rate spreads between the top 5 perpetual DEXs averaged 12.4% annualized on BTC and 18.7% on ETH during Q1, with spikes exceeding 100% APY during high-sentiment periods.
This guide explains the full mechanics, how to execute across 7 DEXs using the Mithril API, realistic yield expectations, and the risks that can turn a cash-and-carry trade into a loss.
How Funding Rate Arbitrage Works
The strategy has three components: finding a rate divergence, placing offsetting positions, and collecting the spread over time.
Step-by-Step Mechanics
- Scan funding rates across venues. Query all supported exchanges for the current 8-hour funding rate on your target asset. Identify the pair with the largest spread — the venue paying the highest rate (long-favorable) and the venue with the lowest or negative rate (short-favorable).
- Open opposite positions of equal notional size. Go long on the high-rate venue (you receive funding as a long), go short on the low-rate venue (you pay little or receive funding as a short). Equal notional size means delta is zero — price movement nets to approximately zero PnL regardless of direction.
- Collect funding payments. Every 1–8 hours (depending on venue), funding settles. Your long position receives payment on the high-rate exchange, your short position incurs minimal cost or receives payment on the low-rate exchange. The net of both is your yield.
- Monitor and rotate. Rates shift constantly. When the spread between your two venues compresses, close both positions and redeploy where the next opportunity exists.
Annualized Yield Calculation
Funding Rate Arbitrage Yield:
Venue A (long): +0.05% per 8 hours = +0.15% per day = +54.75% APY
Venue B (short): -0.01% per 8 hours = -0.03% per day = -10.95% APY
Net daily yield = 0.15% - 0.03% = 0.12%
Net APY = 0.12% × 365 = 43.8%
At $10,000 notional per side:
Daily income = $10,000 × 0.0012 = $12/day
Annual income = ~$4,380
Note: subtract entry/exit fees (typically 0.02–0.05% round-trip)
and account for position rebalancing costs.
Cross-Exchange Funding Rate Strategy on Mithril
The Mithril API supports funding rate queries and order placement across 7 perpetual DEXs through a single endpoint. This makes cross-venue funding arb executable from one integration rather than seven separate ones.
Step 1: Scan Funding Rates Across All Venues
{
"action": "getFundingRates",
"exchange": "all",
"params": {
"symbol": "BTC-USD-PERP"
}
}
Response example:
{
"success": true,
"data": {
"hyperliquid": { "rate_8h": 0.0512, "annualized": 55.8 },
"paradex": { "rate_8h": 0.0089, "annualized": 9.7 },
"extended": { "rate_8h": 0.0341, "annualized": 37.2 },
"drift": { "rate_8h": -0.0054, "annualized": -5.9 },
"vertex": { "rate_8h": 0.0210, "annualized": 22.9 },
"aevo": { "rate_8h": 0.0478, "annualized": 52.1 },
"hibachi": { "rate_8h": 0.0033, "annualized": 3.6 }
}
}
In this snapshot, the optimal arb pair is Hyperliquid (long, +55.8% APY) vs. Drift (short, -5.9% APY). Net spread: 61.7% APY before fees and rebalancing costs.
Step 2: Place Both Legs Simultaneously
{
"action": "placeOrders",
"params": [
{
"exchange": "hyperliquid",
"symbol": "BTC-USD-PERP",
"side": "buy",
"type": "market",
"size": 0.1
},
{
"exchange": "drift",
"symbol": "BTC-USD-PERP",
"side": "sell",
"type": "market",
"size": 0.1
}
]
}
The Mithril API processes both legs in parallel. Both orders are submitted within the same request cycle, minimizing the window of unhedged directional exposure between leg fills.
Typical Yields by Asset and Market Condition
| Asset | Calm Market APY | Bull Run APY | Bear Market APY | Notes |
|---|---|---|---|---|
| BTC-USD-PERP | 8–20% | 40–120% | -5 to +15% | Most liquid, tightest spreads in calm conditions |
| ETH-USD-PERP | 10–25% | 50–150% | -10 to +20% | Higher volatility of funding vs. BTC |
| SOL-USD-PERP | 15–35% | 80–200% | -15 to +30% | Highest spread variance, most active rebalancing needed |
| Mid-cap alts | 20–60% | 100–400% | Highly variable | Significant liquidity risk on smaller venues |
These are gross yields. Subtract entry and exit fees (0.04–0.10% round-trip per venue), slippage on market orders (0.01–0.05%), and rebalancing costs when rotating positions. Net yield is typically 60–80% of gross in liquid markets.
Automating the Strategy with Mithril Bot
Manual funding rate arb requires constant monitoring — rates shift every few hours and opportunities open and close quickly. The Mithril Bot platform includes a funding rate arbitrage template that automates the full cycle:
- Scans all 7 venues every minute for the target symbol
- Calculates net APY after estimated fees for every pair combination
- Triggers entry when net APY exceeds the configured threshold (default: 15%)
- Monitors open positions and funding accumulation in real time
- Triggers rotation when the spread compresses below the exit threshold
- Handles position closing and leg re-entry atomically on rotation
{
"strategy": "funding_arb",
"params": {
"symbol": "ETH-USD-PERP",
"notional_per_leg": 5000,
"min_entry_apy": 15,
"exit_apy": 5,
"max_venues": 2,
"prefer_maker": true,
"rebalance_threshold_pct": 2
}
}
The rebalance_threshold_pct parameter handles delta drift. If price moves enough that the long and short positions diverge by more than 2% in notional value, the bot automatically adjusts the smaller position to restore delta neutrality. This prevents accumulated directional bias from turning a funding arb into an unintended leveraged position.
Risks of Funding Rate Arbitrage
Funding rate arb is lower-risk than directional trading, but it is not risk-free. These are the four primary risks to understand before deploying capital:
1. Execution Risk (Leg Mismatch)
If one leg fills and the other does not, you hold an unhedged directional position. This is most dangerous during high-volatility events when order books thin out. Use market orders or tight limit orders with auto-cancel to minimize leg mismatch duration. The Mithril API's parallel order placement reduces this window, but does not eliminate it.
2. Rate Reversal Risk
Funding rates can flip sign rapidly. A position opened for +40% APY can become -10% APY within hours if sentiment shifts. Always set an exit_apy threshold and honor it — holding a negative-yield position hoping for recovery is a common mistake that compounds losses.
3. Liquidation Risk
Each leg uses leverage. Even though the strategy is delta-neutral at the portfolio level, each individual position can be liquidated independently if the respective exchange's margin requirements are breached. Set position sizes well below the maximum leverage offered. Most practitioners use 2–3× leverage per leg, leaving substantial buffer for adverse price moves.
4. Smart Contract and Venue Risk
DEX perpetuals are on-chain contracts. Bridge exploits, smart contract bugs, and oracle manipulations are low-probability but high-severity events. Diversify across venues rather than concentrating the full notional on one exchange. The Mithril multi-venue architecture supports this natively. See additional risk guides on the Mithril blog.
FAQ: Funding Rate Arbitrage on Perpetual DEXs
Is funding rate arbitrage truly delta-neutral?
In theory, yes. Equal notional long and short positions offset directional exposure. In practice, slight size mismatches from partial fills, differing contract sizes across venues, and funding settlement timing create small residual delta. Rebalancing to within 0.5% notional parity keeps the strategy effectively delta-neutral for most market conditions.
How often do I need to rotate positions?
In volatile markets, opportunities may shift every few hours. In stable markets, a position can hold for days or weeks before the spread compresses. Automated bots handle this continuously. Manual traders should check rates at minimum every 8 hours — aligned with the standard funding settlement interval on most DEXs.
Can I run funding rate arb on Mithril without coding?
Yes. The Mithril Bot platform provides a no-code funding arb template. Configure the target asset, notional size, and APY thresholds through the UI and the bot handles all execution, monitoring, and rotation automatically.
What is the minimum capital for this strategy to be worthwhile?
At 20% APY, $1,000 notional per leg generates roughly $200 per year — about $0.55/day. After fees, meaningful income typically requires $5,000–$10,000 per leg minimum. The strategy scales linearly with capital, so larger notional positions amplify returns proportionally.
How does Mithril access funding rates across 7 DEXs simultaneously?
The Mithril API maintains live connections to all supported exchange WebSocket feeds and caches funding rate data with sub-second latency. A single getFundingRates call with "exchange": "all" returns normalized rate data from every venue in one response, eliminating the need to build and maintain 7 separate API integrations.
