Crypto Perp Funding Rate, OI & Delta-Neutral Carry Arbitrage avatar

Crypto Perp Funding Rate, OI & Delta-Neutral Carry Arbitrage

Pricing

from $1.00 / 1,000 normalized perp market snapshots

Go to Apify Store
Crypto Perp Funding Rate, OI & Delta-Neutral Carry Arbitrage

Crypto Perp Funding Rate, OI & Delta-Neutral Carry Arbitrage

Real-time crypto perpetual futures funding rates, open interest, mark-index basis, extreme cash-and-carry anomalies, and fee-adjusted cross-venue delta-neutral carry arbitrage across Hyperliquid, dYdX v4, Kraken Futures & OKX. 100% public APIs, AI Agent & MCP ready.

Pricing

from $1.00 / 1,000 normalized perp market snapshots

Rating

0.0

(0)

Developer

Larry Wong

Larry Wong

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

an hour ago

Last modified

Categories

Features

Limited permissions

Share

Crypto Perp Funding Rate, Open Interest & Delta-Neutral Carry Arbitrage

Institutional-grade crypto perpetual futures funding rate, open interest, mark-index basis, and cross-venue delta-neutral carry arbitrage engine built for quantitative traders, automated basis bots, and AI Agents via Apify REST API & Model Context Protocol (MCP).

Queries 100% public, zero-authentication, US-cloud-safe exchanges concurrently in < 3 seconds:

  • Hyperliquid DEX (POST https://api.hyperliquid.xyz/info — 1h continuous funding, mark/oracle basis, USD OI & 24h notional volume)
  • dYdX v4 Chain Indexer (GET https://indexer.dydx.trade/v4/perpetualMarkets — decentralized L1 orderbook perps, 1h funding & OI)
  • Kraken Futures (GET https://futures.kraken.com/derivatives/api/v3/tickers — regulated linear PF_* perpetuals, hourly relative funding, mark/index basis & OI)
  • OKX Swap (GET https://www.okx.com/api/v5/... — linear *-USDT-SWAP perpetuals with dynamic 1h/2h/4h/8h interval normalization, USD OI & index basis)
  • Bitget USDT Futures (optional 5th venue) (GET https://api.bitget.com/api/v2/mix/market/...)

Zero Geo-Blocking / Zero 451 Errors: Never touches US-blocked endpoints (fapi.binance.com / api.bybit.com). Runs reliably 24/7 on Apify Cloud US AWS infrastructure without proxies or API keys.


Core Quantitative Capabilities

  1. Canonical Multi-Venue Symbol & Multiplier Normalization

    • Automatically maps PF_XBTUSD -> BTC and scales 1000x / 1,000,000x contracts (kPEPE, 1000PEPE, kBONK, kSHIB, kFLOKI, 1000000MOG, etc.) to 1-token canonical prices while preserving dimensionless funding rates and USD open interest.
    • Enforces an 8% cross-venue mark-price parity guard so unrelated tokens sharing a ticker across exchanges are never falsely paired.
  2. Standardized Funding & Basis Telemetry

    • funding_rate_hourly: Normalized 1-hour funding rate fraction
    • funding_rate_8h_equiv: Standardized 8-hour equivalent funding rate
    • funding_apr_pct: Annualized funding yield (hourly * 24 * 365 * 100)
    • mark_index_basis_bps: (mark_price - index_price) / index_price * 10,000
    • open_interest_usd & volume_24h_usd
  3. Fee-Adjusted Cross-Venue Delta-Neutral Carry Arbitrage Engine

    • Pairs short_venue (highest funding_apr_pct) against long_venue (lowest funding_apr_pct) across all assets meeting minOpenInterestUsd (default $100,000 per leg).
    • Deducts realistic 4-fill entry + exit taker fees across both legs (Hyperliquid 3.5 bps, dYdX 5.0 bps, Kraken 5.0 bps, OKX 5.0 bps, Bitget 6.0 bps) amortized over configurable holdingDays (default 7 days):
      • gross_spread_apr_pct = short_apr_pct - long_apr_pct
      • net_carry_apr_pct = gross_spread_apr_pct - annualized_fee_drag_pct
      • breakeven_hours: Exact hours of continuous funding spread needed to earn back round-trip fees
      • deployable_capacity_usd: Conservative 2% * min(short_oi_usd, long_oi_usd) sizing benchmark
      • basis_convergence_bonus_bps: short_mark_index_basis_bps - long_mark_index_basis_bps
  4. Extreme Single-Venue Cash-and-Carry Anomaly Detector

    • Flags liquid perpetual contracts with |funding_apr_pct| >= 50% (configurable) for Spot + Perp Cash-and-Carry (LONG Spot + SHORT Perp when funding is deeply positive, or LONG Perp + Hedge Spot when deeply negative).

Pay-Per-Event (PPE) Pricing

Event NameDescriptionUnit Price (USD)
actor-startFlat initialization charge per live multi-venue scan$0.005
perp-market-recordPer normalized perpetual contract snapshot pushed to dataset$0.001
carry-arbitrage-signalPer verified cross-venue delta-neutral carry signal or extreme anomaly$0.010

Use maxResults (default 60) or Apify's built-in Maximum cost per run cap for deterministic budget control.


Quick Start — Python SDK

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("conscious_chuckwalla/crypto-funding-rate-carry-arb").call(
run_input={
"mode": "all",
"venues": ["hyperliquid", "dydx", "kraken", "okx"],
"minOpenInterestUsd": 250000,
"holdingDays": 7,
"maxResults": 60,
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
if item["record_type"] == "cross_venue_carry":
print(item["symbol"], item["net_carry_apr_pct"], item["execution_plan"])

AI Agent & MCP Integration

Add conscious_chuckwalla/crypto-funding-rate-carry-arb to your Apify MCP server (https://mcp.apify.com) so Claude, Cursor, OpenAI Agents, or LangGraph bots can ask:

"Scan Hyperliquid, dYdX, Kraken, and OKX for delta-neutral crypto funding carry trades with at least $500k open interest per leg and <48h fee breakeven."