This bot performs arbitrage trading across multiple decentralized exchanges (DEX). It checks the prices of tokens on different DEXs and executes trades to take advantage of price differences.
- Fetches prices from multiple DEXs.
- Executes arbitrage trades automatically.
- Provides a graphical user interface for easy interaction.
- Displays price trends and trade history.
- Python 3.6+
aiohttplibraryweb3libraryrequestslibrarytkinterlibrarydotenvlibrary
-
Clone the repository:
git clone https://github.com/xONEIROS/Arbitrage-Bot.git cd ArbitrageBot -
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile and add the necessary environment variables:ETH_NODE_URL=https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID DEX_1_URL=https://api.dex1.com DEX_2_URL=https://api.dex2.com DEX_3_URL=https://api.dex3.com DEX_4_URL=https://api.dex4.com DEX_5_URL=https://api.dex5.com PRIVATE_KEY=YOUR_PRIVATE_KEY
-
Run the bot:
python main.py
-
Enter the token symbol and amount in the provided fields.
-
Click "Check Arbitrage" to find and execute arbitrage opportunities.