Back to Portfolio
Backend / Trading Infra2024-2025

Zirodelta — Funding-Rate Arbitrage Stack

Microservices stack to ingest funding rates + orderbook depth (Bybit/KuCoin), store snapshots in Redis, and serve dashboards + REST APIs.

PythonFastAPIRedisDockerWebSocket

Key Features

  • Exchange adapters (Bybit WebSocket; KuCoin HTTP/WebSocket) writing normalized snapshots to Redis
  • REST endpoints for market data + strategy snapshot
  • Static dashboards for funding rates, orderbook depth, and top candidates
  • Async strategy loop ranking candidates using per-day normalized differentials
  • Docker Compose setup for Redis/Postgres/API services

Challenges

  • Normalizing data from multiple venues into consistent payloads and keys
  • Keeping dashboards simple while still exposing useful diagnostics
  • Designing a strategy loop that is tunable and observable via config

Solutions

  • Defined explicit Redis key conventions + payload schema for each venue
  • Separated concerns: adapters → Redis, API → aggregation, dashboards → fetch()
  • Strategy outputs snapshot key + PubSub channel for downstream consumers

Interested in Similar Projects?

And many more — let’s discuss what you’re building and how I can help.