2.5 Configuration (Detection Parameters)
All configuration is currently code-level, in capture.py
2.5.1 Minimum Profit Threshold
# Minimum profit threshold (in %)
self.min_profit_threshold = 0.1 # Default: 0.1%Anything below this net profit estimate gets ignored. GitHub
Raising it = fewer but “cleaner” opportunities.
Lowering it = more noise, more micro-edges, more execution risk.
2.5.2 Detection Frequency
# Detection frequency
await asyncio.sleep(2) # Default: 2 secondsControls how often the engine fetches and recomputes.
Shorter sleep:
More real-time, lower latency.
More API load, more CPU/RAM.
2.5.3 DEX Configuration
self.dex_configs = {
# Add/remove DEXs here
}Each DEX/aggregator has:
API endpoint(s)
Fetching logic
To add a new one: configure here + implement fetching logic (see 2.6 Extending the Engine).
Last updated

