Run this ONE COMMAND to fix everything:
sudo ./install_all_dependencies.shThis will:
- ✅ Install system packages (jq, python3-venv, build tools)
- ✅ Create Python virtual environment
- ✅ Install all Python dependencies
- ✅ Build Rust services
- ✅ Validate installation
# Activate the virtual environment
source venv/bin/activate./scripts/start_trading.shThe Hive Mind identified and fixed 3 critical issues:
- Issue: Optional dependency
jqwas causing hard failure - Fix: Script now properly handles optional vs required dependencies
- Impact: Deployment proceeds with warnings instead of failures
- Issue: Python 3.12+ requires venv for package installation
- Fix: Automated venv creation in
install_all_dependencies.sh - Impact: Clean, isolated Python environment
- Issue: No comprehensive error handling or validation
- Fix: Enhanced with health checks, retries, graceful shutdown
- Impact: Robust production-ready startup sequence
If you prefer to install step-by-step:
# 1. Install system packages
sudo apt-get update
sudo apt-get install -y python3 python3-pip python3-venv python3.12-venv \\
build-essential pkg-config libssl-dev curl git jq
# 2. Create virtual environment
python3 -m venv venv
source venv/bin/activate
# 3. Install Python dependencies
pip install --upgrade pip
pip install -r requirements.txt
# 4. Build Rust services
cd rust
cargo build --release
cd ..
# 5. Start trading system
./scripts/start_trading.shYou're now ready to start the algorithmic trading system:
source venv/bin/activate
./scripts/start_trading.shHappy Trading! 📈