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 about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get aea2ccfd-906e-4c2b-8535-a7a5e018185eRelated 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
- RisGraph: A Real-Time Streaming System for Evolving Graphs to Support Sub-millisecond Per-update Analysis at Millions Ops/sGuanyu Feng, Zixuan Ma, Daixuan Li, Shengqi Chen et al.SIGMOD 2021 · 56 citations
