Automation & Risk Controls

Configure strategy parameters and risk limits

Automation is a paid feature

Automated strategies (CPA, FHM) require an active founding or paid subscription — see Fees & Costs. Manual trading on /markets stays free for everyone, with or without a subscription.

Covered Pair Arb — Settings

The Automation page shows each strategy config as a read-only summary card; edit the values from Settings → Automation. The card surfaces these fields:

Enabled — master toggle for the strategy. When off, nothing is evaluated or executed.
Auto Execute (auto_execute) — when on, approved intents are placed automatically instead of waiting for manual approval.
Auto Exit (auto_exit_enabled) — when on, the engine manages exits (take-profit / stop-loss / trailing / max-hold) automatically.
Min Net Edge (min_net_edge_bps) — minimum net edge, in basis points, required for an opportunity to be traded.
Max Size (max_size) — maximum dollar size for a single position.
Max Exposure (max_exposure_total) — hard cap on total combined exposure across positions.
Take Profit (profit_target_bps) — profit target, in basis points, that triggers an exit.
Stop Loss (stop_loss_bps) — loss threshold, in basis points, that triggers an exit.
Trailing Stop (trailing_stop_bps) — trailing stop distance, in basis points, from the peak.
Max Hold (max_hold_seconds) — maximum time a position is held before a time-based exit (shown in minutes on the card).
Max Cover (max_cover_price) — maximum price paid for the cover leg.
Block Fee Mkts (block_fee_enabled_markets) — when on, markets that charge fees are skipped.

Favorite Held Maker — Settings

FHM Enabled — master toggle for FHM.
favorite_band_low / favorite_band_high — mid-price range for favorite entry (defaults 0.70 / 0.90). Markets with a favorite outside this band are skipped.
max_concurrent_positions — maximum simultaneous FHM positions (default 3). New entries are blocked when the cap is reached.
target_size_usd — per-quote notional in USD (default $5). Each position ties up this amount of pUSD.
budget_usd — hard cap on total FHM exposure across all positions (default $300).
stop_loss_threshold — price drop below entry that triggers exit (default $0.15).
tp.peak_drawdown_threshold — trailing drawdown from peak that fires take-profit (default $0.04).
tp.absolute_floor — minimum gain above entry before the trailing take-profit can fire (default $0.10). Prevents premature exits on small early moves.
min_volume_24h_usd — minimum market volume for FHM entry (default $50,000).
max_resolution_horizon_days — skip markets resolving more than this many days out (default 60).

Global Risk Controls

Dry-run (simulation) — per-user toggle. When on, no real orders are placed. Configure in Settings → Engine.
Max daily loss — the engine auto-pauses all strategies when cumulative daily losses exceed this amount.
Total exposure cap — hard limit on combined exposure across all strategies.

Warning

The daily loss cap and total exposure cap apply across all strategies. If CPA and FHM are both running, their combined exposure counts toward these limits.

Engine Controls (Top Bar)

The OperatorBar at the top of every page provides fast emergency controls:

ControlWhat it does
PauseStop all new order placement. Existing orders stay on the CLOB. Safe and reversible.
StopPause + cancel all open and partial orders on the CLOB. Positions remain open.
Exit AllStop + create sell intents for every open position. Use to close everything quickly.

Background Workers

Workers run the automation loop continuously. Their status is visible in Logs → Workers.

  • CPA Worker — runs the three-layer scanner (universe → watchlist → hot) and submits pair orders
  • FHM Worker — scans for favorites in the configured band, places maker quotes, monitors fills
  • FHM Exit Monitor — watches open FHM positions and fires exits when trailing stop or stop-loss conditions are met
  • Execution Worker — picks up approved intents, runs risk checks, submits CLOB orders
  • Redemption Worker — redeems winning tokens and burns losing tokens after market resolution
  • Reconciler — on startup, syncs database state with on-chain and CLOB state (read-only — never re-submits)