Cross-exchange arbitrage opportunity detector for Binance, Kraken, and OKX.
The bot supports any 2+ of: binance, kraken, okx.
Edit config.yaml:
venues:
enabled: [binance, okx] # disable krakenOr override at runtime:
./target/release/arb-bot --mode paper --config config.yaml --venues binance,okxAPI key environment variables (OBSERVE mode only):
BINANCE_API_KEY,BINANCE_API_SECRETKRAKEN_API_KEY,KRAKEN_API_SECRETOKX_API_KEY,OKX_API_SECRET,OKX_API_PASSPHRASE
OKX notes:
- Not accessible from US IPs; use a non-US VPS for deployment.
- Passphrase is a THIRD credential (alongside key+secret) set when creating the API key in OKX UI.
- Available from Turkey, EU, APAC regions.
cargo build --release --workspace./target/release/arb-bot --config config.yamldocker-compose up --buildarb-core: Types, errors, fee model, symbol maparb-book: Order book with VWAParb-adapters: Binance, Kraken, and OKX WebSocket adaptersarb-engine: Opportunity detection engine (N-venue pairwise)arb-exec: Paper executor and inventory trackingarb-log: Opportunity loggerarb-metrics: Prometheus metrics exporterarb-recording: Book update recorder and replayerarb-config: YAML configuration loaderarb-bin: CLI binary
MIT