Project Roadmap: Building the Funding Rate Arbitrage Engine

Now that I’ve explained the idea behind this blog, it’s time to explain what I’m actually building.

The goal isn’t another trading bot that predicts price movements.

The goal is to build a high-performance engine that continuously scans cryptocurrency derivatives exchanges for funding rate arbitrage opportunities while minimizing execution costs.

Core Idea

For every opportunity the engine will estimate:

  • Current funding rate
  • Bid/ask spread
  • Expected slippage
  • Trading fees
  • Net edge after execution costs

The engine should only execute trades when the expected funding income exceeds the total execution cost.

Why Rust?

The bot will be written entirely in Rust for performance, concurrency, memory safety and predictable latency.

Architecture

Each exchange will have its own dedicated worker responsible for:

  • Maintaining WebSocket connections
  • Updating order books
  • Tracking funding rates
  • Estimating spreads
  • Estimating slippage
  • Publishing opportunities

A central coordinator will compare all exchanges and execute cross-venue trades whenever profitable opportunities appear.

Another component will monitor open positions, funding payments and PnL until positions are closed.

Supported Exchanges

  • Gate
  • Binance
  • MEXC
  • KuCoin
  • Bitfinex
  • Aster
  • Extended
  • Hyperliquid
  • Paradex
  • Orderly

Infrastructure

The trading engine will run in the Tokyo region (ap-northeast-1) on AWS or Google Cloud to minimize latency to supported exchanges.

Building in Public

This blog will document architecture decisions, benchmarks, execution quality, funding rate research, optimizations and real trading performance as development progresses.

External Links

One of the best ways to learn is by exploring the tools that other builders create.

I spend a lot of time testing dashboards, analytics platforms, and utilities that make researching funding rates and cryptocurrency markets easier. This page will continue to grow as I discover more useful resources.


loris.tools

Loris Tools is a production-ready market data API for perpetual futures, providing live and historical data across 40+ centralized and decentralized trading venues. Access normalized funding rates, open interest, trading volume, liquidations, RWA perpetual markets, Hyperliquid HIP-3 and HIP-4 markets, crypto options surfaces, and historical datasets through a single REST API. Built for quantitative traders, researchers, exchanges, and developers, Loris Tools makes it easy to power trading systems, analytics dashboards, and funding rate arbitrage strategies.


Liquid View

liquidview.app

LiquidView API provides real-time and historical execution cost data across leading decentralized perpetual exchanges through a unified REST API. Analyze slippage, trading fees, and total execution costs for multiple order sizes across platforms like Hyperliquid, Paradex, Orderly, Extended, GRVT, and more. Built for algorithmic traders, quantitative researchers, smart order routers, and analytics platforms, the API delivers normalized execution cost data, historical time series, leaderboards, and market insights to help optimize trade execution and routing decisions.


Funding View

fundingview.app

FundingView is a real-time funding rate arbitrage platform that helps crypto traders identify yield opportunities across leading perpetual exchanges. By comparing funding rates, historical data, open interest, and APRs in one dashboard, FundingView makes it easy to find market-neutral arbitrage trades without relying on price predictions. Whether you’re new to funding rate arbitrage or an experienced quantitative trader, FundingView provides the tools, analytics, and educational resources needed to discover, analyze, and execute profitable strategies.


Void Owl

voidowl.io

Void Owl provides cryptocurrency price alerts and notifications so traders don’t need to watch charts around the clock.


More Resources Coming Soon

This page isn’t sponsored.

I’ll continue adding useful websites, dashboards, open-source projects, and developer resources as I discover them.

Why 1 BPS Matters

One Basis Point: Why I’m Building a Funding Rate Arbitrage Bot in Public

I’ve spent countless hours reading about trading strategies that promise massive, life-changing returns. Almost all of them rely on the same impossible premise: predicting exactly where the market is going next.

Predictive trading doesn’t interest me.

What fascinates me is something much smaller, quieter, and highly technical: one basis point.

A single basis point (BPS) is just 0.01%. To most retail traders, it’s invisible noise—barely worth a second thought. But when you are running high-frequency, automated trading strategies, those tiny fractions of a percent dictate whether you survive or get wiped out.

This blog is an engineering diary documenting my journey of building a crypto funding rate arbitrage system from scratch.

I’m not launching this because I have all the answers. In fact, I expect to break things, lose money on bad assumptions, and completely rewrite my codebase multiple times. I would rather document the messy, frustrating reality of quantitative trading than pretend everything works perfectly on the first deploy.


The Core Philosophy: Aggregation of Marginal Gains

The thesis behind this project is simple: relentless optimization.

  • Execution: If I can optimize my order entry and execution to save a single basis point, that’s a win.
  • Fee Structure: If I can optimize fee tiers, utilize market-maker rebates, or route orders smarter to shave off half a BPS, that’s another win.
  • Capital Efficiency: If I can find a safer way to utilize margin or automate collateral rebalancing between exchanges, it compounds the returns.

On their own, none of these micro-optimizations look impressive. They won’t make a flashy social media post. But when you layer them on top of one another, they completely transform the math of a trading system.

What if capturing a single extra basis point, consistently and compounded over a long horizon, is the boundary line between a hobbyist script and a highly profitable institutional-grade fund?

That is what I am building this system to find out.

                  ┌──────────────────────────────┐
                  │  Funding Rate Arbitrage Bot  │
                  └──────────────┬───────────────┘
                                 │
         ┌───────────────────────┼───────────────────────┐
         ▼                       ▼                       ▼
┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│ Fee Reduction   │     │ Execution Speed │     │ Capital Routing │
│   -0.005% fee   │     │  Slippage BPS   │     │ Margin Yield    │
└─────────────────┘     └─────────────────┘     └─────────────────┘

Why 1 BPS Matters: The Compounding Math

Let’s look at why micro-optimizations matter in high-frequency arbitrage.

In funding rate arbitrage, you are collecting yield multiple times a day (often every hour depending on the perpetual swap contract). When you compound yields at that frequency, the mathematical difference between 1 basis point and 2 basis points over a year is staggering.

If we start with an initial capital of 5,000 USDT and capture these yields hourly over 365 days (8,760 compounding periods):

Hourly Yield Ending Balance Net Profit Annual Return
1 BPS (0.01%) ≈ 12,005 USDT ≈ 7,005 USDT ≈ 140.1%
2 BPS (0.02%) ≈ 28,824 USDT ≈ 23,824 USDT ≈ 476.5%

A difference of just 0.01% per hour more than doubles your final portfolio value by the end of the year.

This is why I refuse to ignore the details. Lowering exchange fees, minimizing slippage, deploying faster infrastructure, and building smarter capital allocation tools aren’t just minor technical chores—they are the strategy itself.


What to Expect on This Blog

This won’t be a blog filled with “get rich quick” screenshots or vague trading signals. Instead, think of this as an open-source engineering log.

As I build basisrush.fund, I’ll be sharing concrete data, technical bottlenecks, and raw performance metrics. Here is exactly what I will be documenting:

  • Statistical Arbitrage Research: Quantitative ideas, backtesting models, and mathematical assumptions.
  • Raw Funding Rate Data: Historical analysis across major derivative exchanges like Binance, Bybit, and OKX.
  • Infrastructure & Automation: My server setup, latency reduction strategies, and automated risk management.
  • Exchange API Quirks: Documenting the undocumented rate limits, websocket dropouts, and API bugs I encounter.
  • Real Performance Metrics: Transparent tracking of my capital, fees, slippage, and net PnL.

I am building this system in public, one basis point at a time. If you’re interested in algorithmic trading, DeFi infrastructure, or quantitative finance, subscribe to follow along.

Let’s build.