The funding rate is only one line in the P&L
Funding-rate arbitrage pairs a perpetual-futures position with an offsetting hedge. The trade works only when funding receipts exceed basis losses, fees, slippage, borrow and the cost of keeping collateral in place. Matching the two legs can reduce exposure to price direction, but plenty of other risks remain.
Perpetual futures never expire. To keep them near a spot index, venues arrange recurring payments between long and short holders. When a perpetual trades above spot and funding is positive, longs commonly pay shorts. That can make a long-spot, short-perpetual pair attractive. If funding turns negative, the very same short starts paying instead.
The usual setup: buy spot, short the perpetual
The pair is roughly delta-neutral when both notionals respond similarly to a small price move. “Roughly” is doing real work here. Contract multipliers, mark prices, quantity steps, partial fills and cross-venue price differences all leave residual exposure. Matching two numbers on a dashboard is not enough; the hedge ratio has to come from the contract specifications.
Who pays whom depends on the contract
| Market state | Typical payment direction | Potential hedged structure | Main complication |
|---|---|---|---|
| Positive funding | Perpetual longs pay shorts. | Long spot and short perpetual. | The rate can fall or turn negative after entry. |
| Negative funding | Perpetual shorts pay longs. | Short or borrow spot and long perpetual, or hedge with another derivative. | Spot borrow may be unavailable, recalled or more expensive than funding. |
| Near-zero funding | Little transfer between sides. | Usually no carry after costs. | A dashboard may annualize noise into an attractive-looking number. |
There is no universal payment interval. Coinbase International documents hourly charges or credits, while other venues use different clocks and formulas. Many show an indicative rate before the event. That preview is not cash: only the realized payment belongs in the return. Some contracts also require the position to be open at a precise timestamp.
Funding cash flow = eligible position notional × realized funding rate × payment direction The calculation may use a mark price instead of the last trade. Caps, floors, interest components and averaging windows vary. A sound backtest rebuilds the venue’s historical formula and timing rather than pasting today’s displayed rate across older data.
A flat delta does not freeze the basis
Basis is the difference between the derivative price and its spot reference. Suppose spot is $100 and the perpetual is $101 when the trade buys spot and shorts the perpetual. If both later trade at $105, spot gains $5 while the short loses $4: convergence contributes $1 before costs. If spot later trades at $105 and the perpetual at $107, spot gains $5 while the short loses $6: basis widening subtracts $1.
A temporary basis loss still matters if the trade later recovers. The derivatives venue marks the short to its own price and may demand more collateral along the way. If the legs sit on separate venues, a gain in the spot account cannot automatically support margin in the perpetual account.
The short leg can be liquidated while the hedge is winning
A short perpetual can be liquidated if its account falls below maintenance margin, even while the spot leg gains elsewhere. Coinbase’s international derivatives documentation, for example, states that insufficient collateral can trigger partial or full liquidation and that liquidation may occur at worse prices and higher fees than a self-directed close. Every venue has its own margin and liquidation model.
- Margin isolation: Profit on one venue may be unusable collateral on another.
- Basis shock: The perpetual can rise faster than spot and pressure the short account.
- Collateral haircut: Non-cash collateral can lose value while the position needs more margin.
- Auto-deleveraging: A venue’s loss-management process can reduce a profitable position unexpectedly.
- Transfer delay: Moving emergency collateral may take longer than the liquidation window.
- Cross-margin contagion: An unrelated position can consume collateral shared with the hedge.
Set limits against a stressed mark price and a wider basis, not the assumption that both markets always move together. The futures trading bot guide goes deeper on leverage, margin and liquidation controls.
How a matched pair slowly comes apart
| Cause | How neutrality changes | Control |
|---|---|---|
| Partial entry | One leg reaches target size before the other. | Cap unhedged size and time, then follow a written cancel-or-hedge rule. |
| Quantity rounding | Spot and contract exposure cannot match exactly. | Round down and include residual delta in account limits. |
| Inverse contract | Contract exposure changes nonlinearly with price. | Use the venue’s payoff formula and rebalance threshold. |
| Fees or funding debited in an asset | Balances change even with no trade. | Reconcile units and cash flows after every adjustment. |
| Spot lending or staking | The hedge may become locked, delayed or subject to another counterparty. | Model withdrawal time and avoid counting inaccessible inventory. |
| Index divergence | The perpetual references a basket that differs from the hedge venue’s spot price. | Stress the historical difference between the index and executable spot. |
A profitable funding week that almost was not
Consider a hypothetical $25,000 spot position hedged by a $25,000 perpetual short. Assume a positive funding rate of 0.01% is realized at 21 consecutive eight-hour events. Gross funding received would be $52.50. This schedule and rate are illustrative, not a current venue quote.
Suppose opening and closing both legs requires four executions charged at 0.02% of notional, for $20 in fees. Actual fills add $7.50 of execution shortfall relative to decision-time benchmark marks, custody or borrow-related cost is $2, and basis movement between the opening and closing benchmark marks costs $6.
$52.50 funding − $20.00 fees − $7.50 execution shortfall − $2.00 carry costs − $6.00 basis loss = $17.00 net P&L That $17 is 6.8 basis points of P&L relative to the $25,000 notional of one leg. It is not an account return: the example does not specify the cash paid for spot, derivatives collateral or reserve capital committed to the trade. A capital return can be calculated only after those amounts are stated. If only 14 events remain positive, gross funding falls to $35 and the same costs produce a loss.
Keep every cash flow visible
Net P&L from actual fills = realized funding + spot fill-to-fill P&L + perpetual fill-to-fill P&L − fees − borrow/custody − liquidation and transfer losses Spot and perpetual price P&L should mostly cancel when the hedge is matched. What remains is the basis result. Because fill-to-fill P&L already contains execution slippage, do not deduct slippage a second time. If P&L instead uses decision-time benchmark marks, deduct the difference between those marks and the fills once as execution shortfall. Keep each component visible so “yield” does not hide favorable basis movement or an accidental directional bet.
Backtest the payments, the hedge and the margin account
- Archive realized funding events. Store venue, instrument, calculation timestamp, payment timestamp, rate, mark and position notional.
- Rebuild both legs. Use historical order-book depth and contract specifications, not one spot close for both executions.
- Model eligibility exactly. A position opened after or closed before a funding timestamp may receive a different cash flow or none.
- Include basis P&L. Mark the hedge through time and at close; do not assume automatic convergence for a contract without expiry.
- Apply account-specific costs. Include fee tier, maker/taker mix, borrow, custody, conversions, transfers and collateral funding.
- Simulate margin. Reproduce mark price, maintenance margin and liquidation rules under basis and collateral shocks.
- Model broken legs. Delay one order, reject one fill, pause a transfer and close through thinner depth.
- Avoid selection bias. Include periods and instruments where funding was negative, near zero or unavailable.
- Run shadow accounting. Compare predicted payments and fills with live venue data before committing capital.
- Start bounded. Small live positions should prove funding receipts, reconciliation and emergency exits before scale.
One average is not enough. Show how often funding was positive or negative, the worst basis move, the deepest margin drawdown, time spent unhedged, realized costs and results by venue. BIS research finds that crypto carry varies widely over time and that arbitrage capital faces real limits. A high rate may be a price for unusual risk, not free return.
Controls that keep both legs attached
- Pre-trade gate: Verify both order books, balances, contract status, funding estimate, basis and post-trade margin before either order.
- Leg coordinator: Track acknowledgements and fills with unique IDs; never treat order submission as execution.
- Funding ledger: Reconcile every expected debit or credit against venue records and flag missing or changed amounts.
- Hedge monitor: Measure residual delta, basis and inventory continuously, with explicit rebalance and stop thresholds.
- Margin buffer: Reserve collateral for stressed basis and mark-price moves instead of maximizing nominal capital efficiency.
- Venue cap: Limit assets and collateral held with any single exchange, custodian or stablecoin.
- Exit policy: Define which leg closes first under normal conditions, lost connectivity, negative funding and imminent liquidation.
- Kill switch: Stop new entries when books are stale, funding data is missing, positions disagree or transfers are impaired.
These trades run on venue clocks. Losing visibility near a funding or margin event can change the result even when the market barely moves. The guide to how arbitrage bots work covers execution and inventory across related trades; the backtests-versus-live-results guide explains the evidence gap.
Real carry does not mean stable yield
Funding and futures basis are real market mechanisms, and cash-and-carry is a coherent family of trades. That does not make the income stable. BIS research documents crypto carry that is unusually large and volatile, with regulatory and margin friction limiting arbitrage. Perpetuals add more uncertainty because there is no fixed expiry forcing the basis to converge.
Any performance claim should show actual cash flows over stated dates, the exact venue and contract, drawdowns, collateral use, basis results and all material costs. An annual percentage projected from the latest funding event is not comparable evidence.
Contract references and further reading
- Coinbase — International derivatives funding rates
- Coinbase — International derivatives liquidation management
- Bank for International Settlements — Crypto carry
- Bank for International Settlements — Cryptoasset intermediaries, risks and policy approaches
- Commodity Futures Trading Commission — Risks of virtual-currency trading
Funding formulas, payment schedules, margin rules and product access differ by venue and location. The rates and costs above are examples for following the accounting, not forecasts or yield claims.