changedInput schema / definitions / Event / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Compare this bar's metric with a quantile of preceding completed bars.",
- "properties": {
- "comparison": {
- "$ref": "#/definitions/PercentileComparison"
- },
- "field": {
- "$ref": "#/definitions/PercentileField"
- },
- "lookback_bars": {
- "format": "uint16",
- "minimum": 0,
- "type": "integer"
- },
- "percentile": {
- "format": "double",
- "type": "number"
- },
- "strict": {
- "default": true,
- "type": "boolean"
- },
- "type": {
- "enum": [
- "percentile"
- ],
- "type": "string"
- }
- },
- "required": [
- "comparison",
- "field",
- "lookback_bars",
- "percentile",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Strict close versus open of the same completed candle. Flat is neither.",
- "properties": {
- "direction": {
- "$ref": "#/definitions/Direction"
- },
- "type": {
- "enum": [
- "close_direction"
- ],
- "type": "string"
- }
- },
- "required": [
- "direction",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Volume divided by the median of the preceding completed bars.",
- "properties": {
- "lookback_bars": {
- "format": "uint16",
- "minimum": 0,
- "type": "integer"
- },
- "min_ratio": {
- "format": "double",
- "type": "number"
- },
- "strict": {
- "default": false,
- "description": "True means strictly above the threshold; false means at least it.",
- "type": "boolean"
- },
- "type": {
- "enum": [
- "volume_ratio"
- ],
- "type": "string"
- }
- },
- "required": [
- "lookback_bars",
- "min_ratio",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bars": {
- "format": "uint16",
- "minimum": 0,
- "type": "integer"
- },
- "direction": {
- "$ref": "#/definitions/Direction"
- },
- "min_pct": {
- "format": "double",
- "type": "number"
- },
- "type": {
- "enum": [
- "move"
- ],
- "type": "string"
- }
- },
- "required": [
- "bars",
- "direction",
- "min_pct",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bars": {
- "format": "uint16",
- "minimum": 0,
- "type": "integer"
- },
- "direction": {
- "$ref": "#/definitions/Direction"
- },
- "min_pct": {
- "format": "double",
- "type": "number"
- },
- "onset": {
- "default": false,
- "description": "Only the first bar entering this state; false preserves state queries.",
- "type": "boolean"
- },
- "type": {
- "enum": [
- "excursion"
- ],
- "type": "string"
- }
- },
- "required": [
- "bars",
- "direction",
- "min_pct",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "min_ratio": {
- "format": "double",
- "type": "number"
- },
- "type": {
- "enum": [
- "volume_spike"
- ],
- "type": "string"
- }
- },
- "required": [
- "min_ratio",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bars": {
- "format": "uint16",
- "minimum": 0,
- "type": "integer"
- },
- "max_range_ratio": {
- "format": "double",
- "type": "number"
- },
- "type": {
- "enum": [
- "compression"
- ],
- "type": "string"
- }
- },
- "required": [
- "bars",
- "max_range_ratio",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "lookback_bars": {
- "format": "uint16",
- "minimum": 0,
- "type": "integer"
- },
- "side": {
- "$ref": "#/definitions/Side"
- },
- "type": {
- "enum": [
- "new_extreme"
- ],
- "type": "string"
- }
- },
- "required": [
- "lookback_bars",
- "side",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Select a research window starting at these exact UTC clock hours. The anchor is the bar that closes at that boundary; outcomes start there.",
- "properties": {
- "type": {
- "enum": [
- "clock"
- ],
- "type": "string"
- },
- "utc_hours": {
- "items": {
- "format": "uint8",
- "minimum": 0,
- "type": "integer"
- },
- "type": "array"
- }
- },
- "required": [
- "type",
- "utc_hours"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Bars the caller names: open timestamps in Unix ms on the interval grid.",
- "properties": {
- "ts": {
- "items": {
- "format": "uint64",
- "minimum": 0,
- "type": "integer"
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "timestamps"
- ],
- "type": "string"
- }
- },
- "required": [
- "ts",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "$ref": "#/definitions/LevelAction"
- },
- "level": {
- "$ref": "#/definitions/Level"
- },
- "max_age_bars": {
- "description": "Swing levels older than this are ignored. Default 500.",
- "format": "uint16",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "pivot_bars": {
- "description": "Swing levels: bars on each side with lower highs (higher lows). Default 5.",
- "format": "uint16",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "round_step": {
- "description": "Round levels: the step in price units (1000 means 60000, 61000, ...).",
- "format": "double",
- "type": [
- "number",
- "null"
- ]
- },
- "type": {
- "enum": [
- "level"
- ],
- "type": "string"
- }
- },
- "required": [
- "action",
- "level",
- "type"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Compare this bar's metric with a quantile of preceding completed bars.",
+ "properties": {
+ "comparison": {
+ "$ref": "#/definitions/PercentileComparison"
+ },
+ "field": {
+ "$ref": "#/definitions/PercentileField"
+ },
+ "lookback_bars": {
+ "format": "uint16",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "percentile": {
+ "format": "double",
+ "type": "number"
+ },
+ "strict": {
+ "default": true,
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "percentile"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "comparison",
+ "field",
+ "lookback_bars",
+ "percentile",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Strict close versus open of the same completed candle. Flat is neither.",
+ "properties": {
+ "direction": {
+ "$ref": "#/definitions/Direction"
+ },
+ "type": {
+ "enum": [
+ "close_direction"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "direction",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Volume divided by the median of the preceding completed bars.",
+ "properties": {
+ "lookback_bars": {
+ "format": "uint16",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "min_ratio": {
+ "format": "double",
+ "type": "number"
+ },
+ "strict": {
+ "default": false,
+ "description": "True means strictly above the threshold; false means at least it.",
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "volume_ratio"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "lookback_bars",
+ "min_ratio",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bars": {
+ "format": "uint16",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "direction": {
+ "$ref": "#/definitions/Direction"
+ },
+ "min_pct": {
+ "format": "double",
+ "type": "number"
+ },
+ "type": {
+ "enum": [
+ "move"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "bars",
+ "direction",
+ "min_pct",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Close-to-close return of this symbol minus `versus` over `bars`.",
+ "properties": {
+ "bars": {
+ "format": "uint16",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "direction": {
+ "$ref": "#/definitions/Direction"
+ },
+ "min_pct": {
+ "format": "double",
+ "type": "number"
+ },
+ "onset": {
+ "default": false,
+ "description": "Only the first bar entering this state; false preserves state queries.",
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "relative_return"
+ ],
+ "type": "string"
+ },
+ "versus": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "bars",
+ "direction",
+ "min_pct",
+ "type",
+ "versus"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bars": {
+ "format": "uint16",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "direction": {
+ "$ref": "#/definitions/Direction"
+ },
+ "min_pct": {
+ "format": "double",
+ "type": "number"
+ },
+ "onset": {
+ "default": false,
+ "description": "Only the first bar entering this state; false preserves state queries.",
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "excursion"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "bars",
+ "direction",
+ "min_pct",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "min_ratio": {
+ "format": "double",
+ "type": "number"
+ },
+ "type": {
+ "enum": [
+ "volume_spike"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "min_ratio",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bars": {
+ "format": "uint16",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "max_range_ratio": {
+ "format": "double",
+ "type": "number"
+ },
+ "type": {
+ "enum": [
+ "compression"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "bars",
+ "max_range_ratio",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "lookback_bars": {
+ "format": "uint16",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "side": {
+ "$ref": "#/definitions/Side"
+ },
+ "type": {
+ "enum": [
+ "new_extreme"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "lookback_bars",
+ "side",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Select a research window starting at these exact UTC clock hours. The anchor is the bar that closes at that boundary; outcomes start there.",
+ "properties": {
+ "type": {
+ "enum": [
+ "clock"
+ ],
+ "type": "string"
+ },
+ "utc_hours": {
+ "items": {
+ "format": "uint8",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "type",
+ "utc_hours"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Bars the caller names: open timestamps in Unix ms on the interval grid.",
+ "properties": {
+ "ts": {
+ "items": {
+ "format": "uint64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "timestamps"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "ts",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "$ref": "#/definitions/LevelAction"
+ },
+ "level": {
+ "$ref": "#/definitions/Level"
+ },
+ "max_age_bars": {
+ "description": "Swing levels older than this are ignored. Default 500.",
+ "format": "uint16",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "pivot_bars": {
+ "description": "Swing levels: bars on each side with lower highs (higher lows). Default 5.",
+ "format": "uint16",
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "round_step": {
+ "description": "Round levels: the step in price units (1000 means 60000, 61000, ...).",
+ "format": "double",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": {
+ "enum": [
+ "level"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "level",
+ "type"
+ ],
+ "type": "object"
+ }
+]