{
  "additionalProperties": false,
  "description": "Exit after bars held, counting the entry fill bar as the first bar.\n\nDecide at the Nth held bar's close and fill at the next open: exit bar minus\nentry bar is N. This is a predicate and can be composed. Standing orders\nresolve first; priority and attachment order decide competing per-bar exits.",
  "properties": {
    "bars": {
      "maximum": 10000,
      "minimum": 1,
      "title": "Bars",
      "type": "integer"
    },
    "kind": {
      "const": "time_exit",
      "default": "time_exit",
      "title": "Kind",
      "type": "string"
    }
  },
  "required": [
    "bars"
  ],
  "title": "TimeExitCondition",
  "type": "object"
}
