Back to Projects
PerpRates preview
Case Study

PerpRates

Funding rate arbitrage platform across decentralized perpetual exchanges.

Problem

Funding rate data is scattered across DEXs, and executing coordinated two-leg trades across different chains is operationally complex.

Approach

Built a unified exchange adapter layer for 8+ DEXs with async Python, a FastAPI backend with automated discovery and execution, and a Next.js dashboard with Telegram bot interface.

Impact

Scans 224+ opportunities every 60 seconds across 8 exchanges with automated risk management.

What I Built

  • Built a unified exchange adapter layer abstracting 8+ DEX APIs (Drift, Hyperliquid, GMX, etc.) into a consistent interface for funding rate queries and order execution.
  • Developed an async Python engine that scans 224+ funding rate opportunities every 60 seconds with configurable thresholds and filters.
  • Implemented a FastAPI backend with automated opportunity discovery, risk scoring, and two-leg trade execution across Solana and Ethereum chains.
  • Created a Next.js dashboard with real-time rate visualization, position tracking, and P&L analytics.
  • Built a Telegram bot interface for mobile alerts, quick trade execution, and portfolio monitoring on the go.

Technologies

FastAPINext.jsPythonSolanaEthereumTelegram Bot