TradePortfolio
Delta-Neutral & Quant Research

Everything needed to scan and backtest funding-rate arbitrage via API

Combine normalized live funding rates, exact settlement-timestamp history, open interest filters, and order book slippage impact across 43+ CEX and perp DEX exchanges.

Live Spread Scanner
GET /funding

Single payload with 8h-normalized rates, raw rates, intervals, and OI ranks.

Settlement History
Exact Payout Prints

Backtest long/short funding pairs on true settlement timestamps via GET /funding/settlement.

Execution Realism
Depth + Slippage

Filter out ghost spreads by checking live order book depth before routing capital.

Why teams build on Loris

Built by active funding-arb practitioners

Every endpoint solves real delta-neutral execution headaches: cadence normalization, symbol alias mapping, OI liquidity ranking, and settlement alignment.

Filter illusions out of your scanner

Cross-check headline funding spreads against GET /oi/coin and GET /orderbook/impact so bots never chase thin books with negative net capture.

Python SDK & starter bots ready to run

Plug your API key into our lightweight Python client to rank live spreads or simulate historical funding-arb routes in minutes.

Python Quickstartapi.loris.tools
from loris_tools_sdk import LorisClient

client = LorisClient()  # uses LORIS_API_KEY
for opp in client.find_funding_arbs(min_spread_bps_8h=3.0, limit=5):
    print(
        f"{opp['symbol']}: Long {opp['long_exchange']} / Short {opp['short_exchange']} "
        f"| {opp['spread_bps_8h']:.2f} bps/8h ({opp['spread_apy_pct']:.1f}% APY)"
    )
cURL
curl -sS -H "X-Api-Key: $LORIS_API_KEY" \
  "https://api.loris.tools/markets/funding-leaders"

Frequently Asked Questions

Does GET /funding normalize different funding intervals?

Yes. Every rate is normalized to an 8-hour basis (bps) while also exposing raw rates and per-exchange settlement intervals (1h, 4h, 8h).

Can I backtest funding-arbitrage pairs programmatically?

Yes. Use GET /funding/settlement with symbol, exchanges, start, and end parameters to pull exact historical settlement prints and simulate entry/exit fees.