Overview
Configuration
Parameters
How It Works
- Price Monitoring: Watches prices on both exchanges
- Spread Calculation: Computes potential profit including fees
- Maker Order: Places limit order on maker side
- Taker Order: When maker fills, immediately takes on other side
- Profit Capture: Locks in spread as profit
Arbitrage Validation
The executor validates that:- Trading pairs are interchangeable (same tokens)
- Sufficient balance on both exchanges
- Spread exceeds minimum profitability threshold
- Transaction costs are accounted for
Example: ETH Arbitrage
Example: Stablecoin Spread
Profitability Calculation
Inventory Management
The executor creates positions on both exchanges:
Total inventory risk depends on
keep_position setting:
true: Positions remain for future managementfalse: Inventory rebalanced or hedged

