Arbitrage7 min read

Funding arbitrage basis risk: why positive funding can still lose money

Separate funding receipts from cross-venue basis P&L. Follow a complete trade ledger and calculate the exit spread that breaks even after fees and funding.

The key idea

A matched long and short can collect net funding while losing more to a widening exit basis. Track actual fills, settled funding and separate costs in one ledger.

Collecting positive net funding does not mean a paired perpetual trade made money. Even with the same underlying quantity long and short, a change in the price difference between venues can outweigh the funding receipts.

This guide separates those two cash-flow sources with a complete trade ledger and calculates the exit price difference that would break even. It builds on the funding arbitrage introduction, focusing specifically on cross-venue basis P&L rather than the direction of the underlying asset.

Define the basis with a consistent sign

For this guide, define the basis as the short venue's price minus the long venue's price, expressed in dollars per unit of the underlying:

Basis = short-venue price − long-venue price

This is a cross-venue price difference, not a funding rate. It is also different from the premium between one perpetual and its own spot reference. If you instead define basis with the opposite sign, the P&L formula must change with it.

For trade accounting, use actual executed prices. When estimating an immediate close, use the price at which you can sell the long and buy back the short for the intended quantity. A difference between two mark prices is not necessarily an executable exit spread.

Work through a trade that collects funding but loses money

Assume two hypothetical linear USD-settled perpetuals track the same asset. Buy 1 ETH on Venue A at $3,000 and sell 1 ETH on Venue B at $3,015. The entry basis is $15 per ETH. Quantities match even though the entry notionals are different.

Later, sell the long at $3,100 and buy back the short at $3,140. Assume both orders fully fill at these prices. The exit basis is now $40 per ETH.

Ledger item Calculation P&L
Long price P&L 1 × ($3,100 − $3,000) +$100
Short price P&L 1 × ($3,015 − $3,140) -$125
Combined price P&L $100 − $125 -$25
Settled funding received on short Hypothetical account receipts +$12
Settled funding paid on long Hypothetical account debits -$3
Separate trading fees and other costs Assumed total for the complete trade -$8
Total trade P&L -$25 + $12 − $3 − $8 -$24

The $12, $3 and $8 are invented ledger inputs, not observed returns, current rates or an exchange fee tier. The example's net funding is positive $9, while the completed trade loses $24.

The underlying rising by $100 on the long venue does not explain that loss by itself. The short venue rises by $125, so the difference between venues widens by $25. That relative move survives the directional hedge.

Derive the basis P&L formula

Let q be the matched positive underlying quantity. For linear contracts with compatible settlement units:

Combined price P&L = q × [(long exit − long entry) + (short entry − short exit)]

Rearranging using our basis definition gives:

Combined price P&L = q × (entry basis − exit basis)

Therefore, a widening basis hurts this long-low-price, short-high-price pair; a narrowing basis helps it. The formula also works if the signed basis crosses zero. It does not require the two venue prices to move in the same direction.

Equal dollar orders do not automatically give equal underlying quantities when their fill prices differ. Match the underlying exposure and contract multipliers first. Inverse contracts, changing quantities and different collateral or settlement currencies require a more detailed ledger than this one-position-per-venue example.

Calculate the break-even exit basis

Let net settled funding be receipts minus payments, and let separate costs exclude anything already embedded in the execution prices:

Total P&L = q × (entry basis − exit basis) + net settled funding − separate costs

Setting total P&L to zero gives:

Break-even exit basis = entry basis + (net settled funding − separate costs) / q

For our example, that boundary is $15 + ($9 − $8) / 1 = $16 per ETH. If the long closes at $3,100, the corresponding short close price is $3,116. A $40 exit basis exceeds the $16 boundary by $24, matching the ledger loss.

Holding quantity, funding and separate costs constant illustrates the sensitivity:

Exit basis per ETH Combined price P&L Net funding Separate costs Total trade P&L
$5 +$10 +$9 -$8 +$11
$15 $0 +$9 -$8 +$1
$16 -$1 +$9 -$8 $0
$40 -$25 +$9 -$8 -$24
$60 -$45 +$9 -$8 -$44

These are alternative hypothetical exits, not separate trades or forecasts. The boundary changes as funding settles, fees accrue or the position quantity changes. It is an accounting threshold, not an instruction to hold a trade until a target is reached.

Do not assume perpetual prices must converge on a deadline

dYdX's funding documentation explains that perpetuals have no expiry or final delivery and use funding to incentivize prices toward a reference. Hyperliquid's crypto perpetual specifications likewise describe contracts without expiration.

That mechanism does not establish a scheduled convergence event between two independent venues. A positive spread of funding rates is not a promise that their prices will meet before you need to close.

Use settled transfers when assessing a completed period. Hyperliquid's funding documentation describes periodic balance adjustments and the oracle-price input to its funding payment. A dashboard's next predicted rate is not the same thing as cash already credited to an account.

Keep execution costs and margin risk visible

Our example uses executed entry and exit prices, so their spread crossing and slippage are already reflected in the price P&L. Adding a second full allowance for the same execution shortfall would double-count it. Record separately charged fees, borrowing, network charges and other attributable expenses in their own ledger lines.

For an open trade, use size-specific closing quotes for a liquidation-free exit estimate, and label that estimate as unrealized. Distinguish it from the venue's mark-based account equity. An attractive estimated total P&L does not move collateral between accounts or prevent one leg from being liquidated.

Use PerpsMania's funding dashboard to research rate differences, then monitor executable basis and both margin accounts. The slippage and order-book VWAP guide helps turn order-book depth into a size-specific estimate; the margin-buffer guide covers the separate question of keeping each leg adequately collateralized.

Sources and assumptions

Sources checked on 1 November 2026. All prices, fills, quantities, funding transfers and costs in the ledger are hypothetical. Calculations assume matched linear USD-settled exposure, stable collateral, unchanged quantity until closing and no liquidation. They exclude taxes, collateral conversion effects and protocol failure. The example is not a live opportunity, realized strategy record or guarantee that a hedge can be maintained.

Check your own assumptions

Use the guide as a framework, then inspect the relevant markets and inputs on PerpsMania.

Research funding rate differences

Educational material, not personalized investment advice. Numerical examples are hypothetical unless explicitly identified as sourced market data. Perpetual trading can result in loss of all posted collateral. Some product pages contain referral links; PerpsMania may benefit when you use them.