Funding arbitrage calculator

Model a delta-neutral pair: equal notional long on one venue and short on another. Everything is computed in your browser.

Inputs

Pair
Position
Legs

Long leg

Short leg

Costs

Results

Net P&L—
Net APR on capital—
Spread APR
—
Funding received
—
Fees + slippage (4 fills)
—
Net APR on notional
—
Capital required
—
Breakeven
—
Rough liquidation distance
—≈ 1/leverage, before maintenance margin and fees. Each leg can be liquidated on its own: keep a buffer and rebalance.

Convention: a positive funding rate means longs pay shorts. The long leg earns −APR, the short leg earns +APR. Fees apply to opening and closing both legs (4 fills).