This project is a cryptocurrency arbitrage bot that scans multiple exchanges to identify arbitrage opportunities based on price differences for the same coin.
- Connects to multiple cryptocurrency exchanges (Binance, Coinbase, Kraken, KuCoin).
- Retrieves real-time prices for selected coins.
- Detects arbitrage opportunities and calculates potential profit margins.
- Logs detected opportunities in a CSV file.
- Sends real-time notifications via email when an opportunity is found.
- Configurable settings for coin pairs, profit thresholds, and update intervals.
-
Clone the repository:
git clone <repository-url> cd arbitrage_bot
-
Install dependencies:
pip install -r requirements.txt
-
Configure the bot:
- Open
config.py
and enter your API keys for the exchanges. - Customize the coin pairs and profit threshold as needed.
- Open
-
Run the bot:
python main.py
The bot includes error handling for API failures, connection issues, and rate-limiting scenarios.
This project is licensed under the MIT License.