---
title: "Funding Rate Arb: ML Models & Production Deployment"
date: 2026-01-21
type: project
blurb: "LightGBM prediction models for funding rate direction, composable strategy shell for entry/sizing/exit, TUI simulator, and live signal generation deployed to Vercel."
canonical: https://dazuck.com/projects#funding-rate-arb-ml-production
---

Shifted from pure backtesting to ML-driven prediction and production deployment. Built a LightGBM quantile regression model achieving 86% direction accuracy across 46 features. The composable strategy shell separated ML predictions (signal) from trading decisions (entry/sizing/exit), enabling rapid experimentation — 21 variants tested with real model predictions. Key learning: data-based exits dominated prediction-based exits by 40+ percentage points. Deployed a FastAPI production pipeline on Vercel with cron-driven signal generation, plus a TUI simulator for live strategy monitoring. Found and fixed 4 critical ML pipeline bugs where the trained model was never actually being used.

---
*This is the source markdown for https://dazuck.com/projects#funding-rate-arb-ml-production.*  
*Full writing + projects index: https://dazuck.com/llms-full.txt*
