Back to Projects

Cross CEX Arbitrage Bot

2024 Cryptocurrency • Trading Bot

About the Project

An advanced cryptocurrency arbitrage bot that detects and analyzes price differences between various exchanges.

This is a bot I created with Python and CCXT that spots price differences between pairs on different Centralized Exchanges (CEXes). The bot continuously analyzes the market and checks if there's a profitable opportunity, taking into account all buy/sell costs and withdrawal/deposit fees.

An important part of the bot is the smart network selection. The system automatically searches for the fastest withdrawal network, for example choosing Base over Ethereum due to faster transaction times and lower costs.

Development Journey: I worked on this fulltime for 4 months, doing a deep-dive into cryptocurrency markets, exchange APIs, and arbitrage strategies. Through this intensive development period, I learned an enormous amount about real-time data processing, financial calculations, and the complexity of cryptocurrency trading.

Eventually I discovered that this isn't usable in practice, because the transfer time from exchange A to exchange B takes too long and the opportunities are usually gone by that time. This valuable lesson taught me that theoretical profitability doesn't always mean practical applicability, and that timing is crucial in cryptocurrency arbitrage.

Technologies

Python Python
CCXT
Exchange APIs
WebSockets
Real-time Data
Blockchain Networks