1) Signal Inputs
Execution Mode
Use case: shadow a known wallet, validate confidence + liquidity, then queue only if risk limits pass.
2) Risk Guard
3) Decision Output
Decision
FOLLOW
Mode: recommendation • not queued
Risk budget$100.00
Recommended size1666 shares ($1,049.58)
Max loss at stop$99.96
Take-profit value$166.60
Reward/Risk1.67R
Signal edge11.0%
Execution Checklist
  • 1. Confirm market URL and outcome side (YES) before queueing.
  • 2. Enforce per-trade risk budget (2% of bankroll).
  • 3. Reject execution when liquidity is too thin (< $50k).
  • 4. Write audit log for input, score, rule hit, and action.
  • 5. Keep private keys and API secrets strictly server-side.
Webhook Payload (example)
{
  "ts": "pending-client-time",
  "wallet": "0xWhale...dEAD",
  "market": {
    "title": "Will Candidate X win Election 2028?",
    "url": "https://polymarket.com/event/sample-market",
    "side": "YES",
    "entry": 0.63,
    "stop": 0.57,
    "target": 0.73
  },
  "signal": {
    "confidence": 74,
    "edge": 0.11,
    "decision": "FOLLOW"
  },
  "risk": {
    "bankroll": 5000,
    "risk_per_trade_pct": 2,
    "risk_budget_usd": 100,
    "shares": 1666,
    "max_loss_at_stop_usd": 99.96
  },
  "automation": {
    "mode": "recommendation",
    "queued": false
  }
}