Cross-Venue Funding Rate & Cash-and-Carry Matrix
Rank delta-neutral Spot+Perp and Perp+Perp funding carry opportunities across CEXs & Perp DEXs by true slippage-adjusted 30-day net APR — after deducting real 1-second orderbook impact and fees on both legs.
01 · Why Headline Funding APR Lies — Net Slippage-Adjusted Carry Formula
Most funding scanners sort purely by annualized headline rate (funding_rate × periods_per_year). On smaller altcoins or thin Perp DEX books, a 60% headline APR can lose 40–120 bps immediately on entry and exit slippage, turning a 30-day hold negative.
OpenDepth computes round-trip orderbook execution drag at your chosen notional size using live 1-second time-weighted orderbook depth (book_spread + T1 sweep slippage) on both legs before ranking any pair:
SLIPPAGE-ADJUSTED 30D NET CARRY APR
gross_30d_funding_bps = (short_leg_funding_30d_bps - long_leg_funding_30d_bps)
round_trip_cost_bps = entry_impact_long + entry_impact_short
+ exit_impact_long + exit_impact_short
+ 2 * (fee_long_bps + fee_short_bps)
net_30d_return_bps = gross_30d_funding_bps - round_trip_cost_bps
net_30d_apr_pct = (net_30d_return_bps / 100) * (365 / 30)02 · Spot+Perp vs. Cross-Venue Perp+Perp Structures
OpenDepth evaluates both classic cash-and-carry (Spot+Perp) and cross-venue funding spread arbitrage (Perp+Perp across CEXs and Perp DEXs like Hyperliquid and Aster), normalizing 1h and 8h settlement schedules into one comparable table.
| Structure | Long Leg | Short Leg | Key Risk & Advantage |
|---|---|---|---|
| Spot + Perp (Cash & Carry) | Spot on liquid CEX | Perpetual with positive funding | Zero liquidation risk on spot leg; captures positive basis & funding without shorting spot |
| Perp + Perp (Cross-Venue) | Perp with negative or lower funding | Perp with higher positive funding | Capital-efficient margin on both legs; captures CEX-vs-Perp-DEX funding dislocations |
03 · Dual-Leg Protection & Zero-Auth API / MCP Query
When executing dual-leg carry through linked non-custodial accounts, OpenDepth protects against one-legged exposure: if Leg 2 fails to fill, the engine automatically rolls back Leg 1 with full audit logs. Public ranking data requires no account or API key.
CURL · PUBLIC CARRY MATRIX & MCP
curl -sS "https://api.opendepth.io/api/market/carry?notionalUsd=5000&limit=15" | jq '.opportunities[:3]'
# Or via OpenDepth Native MCP (JSON-RPC 2.0, zero auth):
curl -sS https://api.opendepth.io/api/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_carry_matrix","arguments":{"notionalUsd":5000,"limit":15}}}'Frequently Asked Questions
- Does the Carry Matrix account for my position size and orderbook depth?
- Yes. Pass any
notionalUsd(in the UI or API/MCP) and OpenDepth recalculates entry + exit sweep slippage across both legs from 1-second time-weighted depth. - How are 1-hour Perp DEX funding intervals compared with 8-hour CEX intervals?
- Every leg's funding rate is normalized to an identical 30-day and annualized basis using each venue's exact settlement cadence (
1h,4h, or8h). - Is OpenDepth custodial when executing dual-leg carry trades?
- Never. Funds remain in your own CEX accounts or non-custodial Perp DEX wallets; OpenDepth never requests withdrawal permissions and includes automatic Leg-2 rollback protection.