Solana Arbitrage Bot
High-performance trading system for detecting and executing arbitrage across Solana DEXes
A production trading system built over 2 years that detects and executes arbitrage opportunities across Solana DEXes. Key technical highlights: • Real-time data ingestion via Yellowstone Geyser gRPC streaming (not polling) • Graph-based opportunity detection using Bellman-Ford algorithm for negative cycle detection • Integration with multiple CLMM protocols: Orca Whirlpools, Raydium CLMM, Meteora DLMM • Tick array and bin array traversal for accurate price simulation • Zero-allocation hot paths for latency-critical execution • Lock-free data structures and careful memory ordering Architecture: Data Layer → Geyser Yellowstone → gRPC streaming → Account state updates Detection → Pool state graph → Bellman-Ford → Negative cycle = arbitrage Execution → Transaction construction → QUIC submission → Leader schedule tracking Currently semi-live and in final optimization stages.