6.2 Architecture on Top of Capture Engine
Conceptual stack:
Capture Engine
Emits structured opportunities (pair, venues, spread, net profit, etc.).
Decision Layer (AI + Rules)
Decides:
Trade / skip.
Size.
Route variant (e.g. slippage tolerance, alternative path).
Uses:
Historical performance of venues and routes.
Volatility regime.
Current risk usage (drawdown, exposure, etc.).
Execution Layer
Builds transactions.
Routes via RPC / private endpoints.
Tunes priority fees.
Manages retries, partial fills, failures.
Risk Engine
Enforces hard constraints:
Max % risk per trade.
Max daily loss.
Max open exposure.
Cooldowns after a sequence of losses.
Monitoring Layer
Tracks:
PnL (realized, unrealized).
Hit rate vs theoretical edge.
Error rates (failed tx, timeouts).
Utilization of risk limits.
You can think of Capture Bot as Capture Engine + a narrow OMS/RMS for arbitrage only.
Last updated

