← back to Zero Code Trading Bot

assets/bot-template/strategy.json

43 lines

{
  "name": "longshot-fade",
  "description": "Plain-English: on Polymarket, buy YES on deep-longshot markets (priced <= 8c) that still have real money in them, take profit at 15c, stop out at 3c. Small fixed bets, capped exposure.",
  "venue": "polymarket",
  "mode": "paper",
  "poll_seconds": 300,

  "universe": {
    "query": "",
    "min_volume_usd": 100000,
    "max_spread": 0.05,
    "resolves_within_days": 45,
    "limit": 200
  },

  "entry": [
    {
      "when": "price <= 0.08 and volume_usd >= 100000 and spread <= 0.04",
      "side": "YES",
      "reason": "deep longshot with real liquidity"
    }
  ],

  "exit": [
    { "when": "price >= 0.15", "action": "close", "reason": "take profit" },
    { "when": "price <= 0.03", "action": "close", "reason": "stop loss" },
    { "when": "days_to_resolve <= 1", "action": "close", "reason": "avoid resolution risk" }
  ],

  "sizing": {
    "type": "fixed_usd",
    "amount": 25,
    "max_position_usd": 50,
    "max_open_positions": 10
  },

  "risk": {
    "max_daily_loss_usd": 100,
    "max_total_exposure_usd": 250,
    "kill_switch": true
  }
}