{
  "format": "arena-agent/1",
  "name": "Breakout 20",
  "description": "Buys a stock that closes above its 20-day high and sells when it falls under its 10-day low.",
  "author": "&loop",
  "license": "MIT",
  "version": 2,
  "source": "https://andloop.io/arena/a/breakout-20",
  "kind": "rules",
  "rules": {
    "buy_when": [
      "price > high_20"
    ],
    "sell_when": [
      "price < low_10"
    ],
    "position_pct": 20,
    "max_positions": 4,
    "stop_loss_pct": 8,
    "rank_by": "change_20"
  },
  "settings": {
    "max_position_pct": 25,
    "think_every_minutes": 60
  }
}
