Installation Guide¶
This guide will help you install and set up ArBot on your system.
Prerequisites¶
System Requirements¶
- Python: 3.8 or higher
- Operating System: Windows, macOS, or Linux
- Memory: Minimum 2GB RAM (4GB recommended)
- Storage: 1GB free space for data and logs
Exchange API Access¶
- API keys for supported exchanges (Binance, Bybit, OKX, Bitget)
- API permissions: Read market data, Execute trades (for live mode)
Installation Methods¶
Method 1: From Source (Recommended)¶
-
Clone the Repository
-
Create Virtual Environment
-
Install Dependencies
-
Install ArBot
Method 2: Using Docker¶
-
Pull and Run
-
Or Build from Source
Method 3: PyPI Package (Future)¶
Coming Soon
PyPI package distribution is planned for future releases.
Configuration Setup¶
1. Environment Variables¶
Create a .env
file in the project root:
# Exchange API Keys
BINANCE_API_KEY=your_binance_api_key
BINANCE_API_SECRET=your_binance_secret
BYBIT_API_KEY=your_bybit_api_key
BYBIT_API_SECRET=your_bybit_secret
OKX_API_KEY=your_okx_api_key
OKX_API_SECRET=your_okx_secret
BITGET_API_KEY=your_bitget_api_key
BITGET_API_SECRET=your_bitget_secret
# Trading Configuration
TRADING_MODE=simulation
LOG_LEVEL=INFO
2. Configuration File¶
The config.json
file will be created automatically with default settings:
{
"trading_mode": "simulation",
"arbitrage": {
"min_profit_threshold": 0.005,
"max_symbols": 200,
"enabled_quote_currencies": ["USDT"],
"moving_average_periods": 30,
"use_trend_filter": true,
"trend_filter_mode": "uptrend_buy_low"
},
"exchanges": {
"binance": {
"enabled": true,
"arbitrage_enabled": true
},
"bybit": {
"enabled": true,
"arbitrage_enabled": true
}
}
}
3. Local Configuration Override¶
Create config.local.json
for personal settings that won't be committed to git:
{
"arbitrage": {
"min_profit_threshold": 0.01,
"trade_amount_usd": 250.0
},
"exchanges": {
"okx": {
"enabled": true,
"arbitrage_enabled": true
}
}
}
Verification¶
Test Installation¶
Run Basic Test¶
Expected output:
usage: main.py [-h] [--mode {gui,cli,backtest}] [--config CONFIG]
ArBot - Arbitrage Trading Bot
optional arguments:
-h, --help show this help message and exit
--mode {gui,cli,backtest}
Run mode (default: gui)
--config CONFIG Config file path (default: config.json)
Test GUI Mode¶
This should open the ArBot GUI interface.
Troubleshooting¶
Common Issues¶
Import Errors¶
# If you see import errors, ensure all dependencies are installed
pip install -r requirements.txt --upgrade
Permission Errors¶
GUI Display Issues¶
API Connection Issues¶
Performance Optimization¶
For High-Frequency Trading¶
For Lower Resource Usage¶
Next Steps¶
- Configure API Keys: Set up your exchange API credentials
- Customize Settings: Adjust trading parameters in the GUI
- Start in Simulation: Test with paper trading first
- Monitor Performance: Watch the dashboard for opportunities
Safety First
Always start with simulation mode to familiarize yourself with the bot's behavior before using real funds.
Continue to Quick Start Guide to begin trading!
Last update:
July 12, 2025
Created: July 12, 2025
Created: July 12, 2025