RISK_PARAMS ENFORCED ON EVERY ATTEMPT
RISK CONTROL
No trade reaches the book without clearing the gate. Size, slippage and gas are checked against the mandate; the kill switch trips on a $3,000 daily loss or three consecutive gas breaches, and nothing executes until the session is reset.
KILL SWITCH
ARMED — CLEARED TO TRADE
SESSION EXPOSURE
EQUITY
$99,600
SESSION PNL
-$400
DAILY LOSS USED$400 / $3,000
13.3% OF THE DAILY LOSS LIMIT
GAS BREACH STREAK0/3 → HALT
RISK_PARAMS — THE MANDATE
- starting_capital
- $100,000
- max_trade_size
- $5,000
- daily_loss_limit
- $3,000
- max_slippage_bps
- 50 bps
- max_gas_usd
- $10
KILL_SWITCH // daily_loss >= $3,000 OR gas > $10 for 3 consecutive attempts → halt all trading.
ATTEMPT LOG
1 RECORDED| MARKET | SIDE | SIZE | SLIP | GAS | PNL | VERDICT |
|---|---|---|---|---|---|---|
| ETH/USDC | sell | $4,000 | 25bp | $6 | -$400 | APPROVED |