TRADER: Real-time Arbitrage Detection via Negative Cycles on Dynamic Graphs
Bingqiao Luo, Yuhang Chen, Jiaxin Jiang, Yuheng Cong, Ziyu He, Shixuan Sun, Bingsheng He, Wee Howe Ang
Abstract
Real-time arbitrage detection in decentralized finance (DeFi) is challenging, as opportunities, which are often represented by negative cycles in token graphs, appear and disappear within milliseconds. High update rates and algorithmic complexity make real-time detection difficult, while existing approaches either operate only on static snapshots, which quickly become outdated, or recompute all affected cycles after each update, which is prohibitively expensive. Both approaches fail to meet the latency and throughput requirements of modern trading systems. To address the challenge, we present TRADER, an incremental solution for high-performance real-Time aRbitrAge DEtection via negative cycles on dynamic gRaphs. TRADER uses a dynamic programming-based algorithm with incremental state updates and localized propagation to detect and maintain arbitrage opportunities within milliseconds on fast-changing crypto token graphs. It supports edge updates in batch and employs an edge grouping strategy to filter out non-impactful updates, reducing latency and boosting throughput. On realworld DeFi datasets, TRADER achieves up to speedup over baselines while maintaining high detection accuracy.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- RICH: Real-time Identification of negative Cycles for High-efficiency ArbitrageBingqiao Luo, Jiaxin Jiang, Yuhang Chen, Junyi Hou et al.VLDB 2025 · 2 citations
- Spade: A Real-Time Fraud Detection Framework on Evolving GraphsJiaxin Jiang, Yuan Li, Bingsheng He, Bryan Hooi et al.VLDB 2023 · 31 citations
- ORDER: Optimal Routing with Path Indexing in Exchange Graph [Data-Intensive & Data Science Application]Bingqiao Luo, Yuhang Chen, Yuheng Cong, Ziyu He et al.SIGMOD 2026
- A Large Scale Study of the Ethereum Arbitrage EcosystemRobert McLaughlin, Christopher Kruegel, Giovanni VignaUSENIX Security 2023
- RUSH: Real-time Burst Subgraph Discovery in Dynamic GraphsYuhang Chen, Jiaxin Jiang, Shixuan Sun, Bingsheng He et al.VLDB 2024 · 9 citations
