mirror of
https://github.com/mauricioabh/arbpulse.git
synced 2026-07-27 23:57:43 +00:00
Initial commit: Arb Pulse monolith with CI and optional Fly deploy.
Real-time BTC cross-exchange arbitrage detection (Kraken, Bybit, OKX, Binance) with React dashboard, GitHub Actions CI, and documented Fly.io deploy workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Server
|
||||
PORT=8080
|
||||
|
||||
# Engine tuning
|
||||
MIN_NET_PROFIT_PCT=0.0005 # 0.05% minimum net return to execute
|
||||
MAX_TRADE_BTC=0.25 # max BTC per simulated trade
|
||||
STALE_MS=3000 # quote older than this is ignored
|
||||
FLICKER_CONFIRM_MS=150 # opportunity must persist this long before executing
|
||||
LATENCY_MS=120 # simulated detection->execution latency
|
||||
LATENCY_SLIPPAGE_BPS=2 # adverse price drift applied during latency (basis points)
|
||||
|
||||
# Risk
|
||||
CIRCUIT_BREAKER_LOSSES=5 # consecutive losing trades before pausing
|
||||
CIRCUIT_BREAKER_COOLDOWN_MS=15000
|
||||
|
||||
# Wallets (per exchange, simulated)
|
||||
INITIAL_USDT=50000
|
||||
INITIAL_BTC=0.5
|
||||
|
||||
# Demo mode (injects synthetic divergences, clearly flagged)
|
||||
DEMO_MODE=false
|
||||
|
||||
# Feed recorder (NDJSON to data/)
|
||||
RECORD_FEED=false
|
||||
Reference in New Issue
Block a user