Skip to main content
Glama

Research Market Memory

research_market_memory
Read-onlyIdempotent

Interpretation rule: 'fell/dropped 5% within/over a day', 'BTC упал/падал на 5% за сутки' and equivalent ordinary-language falls/rises mean excursion, including a recovered move. Use move ONLY when the user explicitly compares closes (close-to-close, closed 5% lower, от закрытия до закрытия). Do not silently replace one with the other. State the chosen meaning in the answer. Start from answer_contract.required_lines: quote resolved AND independent episode counts, baseline pooled AND effectiveN counts, the pinned time and all flags. Never calculate a missing statistic yourself. When report.url is present, include that exact link for the original charts; do not redraw or recopy Unicode charts. The report contains every original chart and its numbers. Without a report link, retain the original terminal blocks unchanged. Research stored candle history with a typed query: what followed an event, a sequence of events (compression -> break -> retest), or the windows most similar to a reference, against a baseline of ordinary windows. Smallest query: {version: "market-query/v0", universe: {symbols: ["BTCUSDT"], interval: "1h"}, find: {event: {type: "excursion", direction: "down", min_pct: 5, bars: 24}}}. Omitted parts take defaults that the answer echoes: as_of_ms is the server clock, reference.anchor_ms the newest closed bar, select.limit 50, observe 24 bars split by era. Pin as_of_ms to repeat a result exactly. Available: BTCUSDT, ETHUSDT, SOLUSDT, ZECUSDT (BTC, ETH, SOL, ZEC are accepted) on 5m, 15m, 1h, 4h, 1d; similarity reference.bars 3, 5, 8 or 12; horizon 1 to 96 bars; up to four sources, 750000 rows per source and 2250000 combined. ZEC history starts in March 2019; its full 5m archive exceeds the 750000-row research budget, so inspect snapshot truncation. Existing BTC/ETH/SOL 5m history starts in October 2020; other intervals have their own coverage and genuine gaps remain disclosed (snapshot.truncated_symbols). Events also include causal percentile {field: volume/range_pct/body_pct/close_return_pct,percentile:0..100,lookback_bars:20..288,comparison:above/below,strict:true by default}; its threshold uses only preceding completed values, excluding the current bar. Events: move, excursion, relative_return ({versus, direction, min_pct, bars, onset}), volume_spike, compression, new_extreme, level (previous day or week high or low, swing_high or swing_low pivots, round numbers with round_step), timestamps (bars the user names). A then step with absent: true keeps paths where the event did NOT follow within within_bars. Context at the anchor: session, utc_hours, day_type, trend against MA200, volatility tercile, min_volume_ratio, max_distance_from_high_pct. For a break or a test of a level, result.level counts how often the level gave way inside the horizon, beside result.level.baseline: how often ordinary closes recross a line at the same distance. Price recrosses any nearby line often, so quote the failed share only together with that baseline and its difference. observe.group_by shape groups the measured cohort by the source market’s 12 bars through the anchor and preceding 96 bars, with counts, outcomes and median pictures; groups are exploratory and do not correct for multiple testing. observe.first_touch {up_pct, down_pct} counts which distance from the anchor close printed first; observe.level_touch {scope: 'prev_day'|'prev_week'} counts touches and order of yesterday's or last week's high vs low (highFirst, lowFirst, sameBar, neither, anyTouched); observe.on measures what followed on another symbol (BTC fell, what did SOL do); observe.versus measures the spread return (symbol minus versus) over the horizon to test continuation vs reversion. mode explain returns the plan without reading data; mode execute reads one content-hashed snapshot and never refreshes or writes candles. An event query measures every independent event in the history; select.limit only caps the listed episodes (result.sample: matched, independent, returned). A similarity query measures the nearest select.limit windows. The baseline is every window that passes the same context; its intervals use baseline.effectiveN independent windows. result.difference is sample minus baseline with 95% intervals of the difference; they are per query and do not correct for trying many queries. detail compact (default) lists ten episodes; detail full lists all with distance components. Quote result.sample, outcome beside baseline, result.difference and every flag in words. Include report.url for the original charts when available; inline copying is optional. Without a report link show result.pictures[].terminal unchanged in code blocks, including the legend and footer. Quote NO_TRADE. No trade direction or size. These semantics differ from query_market_memory, so counts are not interchangeable. An unavailable backend is an error, never a legacy fallback.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mode": "<mode>",
      "query": "<query>"
    },
    "name": "research_market_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
queryYes
detailNocompact (default): statistics, ten rounded episodes, pictures. full: every listed episode with its distance components.compact
force_refreshNoBypass aggregate cache; stored history is still read without exchange refresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • 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"
      +  }
      +]
    • addedInput schema / definitions / LevelTouch
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "scope": {
      +      "$ref": "#/definitions/LevelTouchScope"
      +    }
      +  },
      +  "required": [
      +    "scope"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / definitions / LevelTouchScope
      Added value: +{
      +  "enum": [
      +    "prev_day",
      +    "prev_week"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / definitions / Observation / properties / level_touch
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/definitions/LevelTouch"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Which named pair of causal levels (previous day or week high vs low) was touched first inside the horizon."
      +}
    • addedInput schema / definitions / Observation / properties / versus
      Added value: +{
      +  "description": "Measure the spread return (symbol return minus `versus` return) over the horizon, using close prices at matching timestamps.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • 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"
      -      },
      -      "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,
      +    "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"
      +  }
      +]
  3. Changed3 schema fields changed
    • changedInput schema / definitions / Event / oneOf
      Previous value: -[
      -  {
      -    "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"
      -      },
      -      "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,
      +    "properties": {
      +      "bars": {
      +        "format": "uint16",
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "direction": {
      +        "$ref": "#/definitions/Direction"
      +      },
      +      "min_pct": {
      +        "format": "double",
      +        "type": "number"
      +      },
      +      "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"
      +  }
      +]
    • addedInput schema / definitions / PercentileComparison
      Added value: +{
      +  "enum": [
      +    "above",
      +    "below"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / definitions / PercentileField
      Added value: +{
      +  "enum": [
      +    "volume",
      +    "range_pct",
      +    "body_pct",
      +    "close_return_pct"
      +  ],
      +  "type": "string"
      +}
  4. Changed9 schema fields changed
    • addedInput schema / definitions / Comparison
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "find": {
      +      "$ref": "#/definitions/Find"
      +    },
      +    "from_ms": {
      +      "format": "uint64",
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "to_ms": {
      +      "format": "uint64",
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "find",
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / definitions / Condition
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/definitions/Event"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "all": {
      +          "items": {
      +            "$ref": "#/definitions/Condition"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "all"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "any": {
      +          "items": {
      +            "$ref": "#/definitions/Condition"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "any"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "not": {
      +          "$ref": "#/definitions/Condition"
      +        }
      +      },
      +      "required": [
      +        "not"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "description": "Bounded boolean tree. Unknown history is not converted to a true NOT."
      +}
    • changedInput schema / definitions / Event / oneOf
      Previous value: -[
      -  {
      -    "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"
      -      },
      -      "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": "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"
      +      },
      +      "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"
      +  }
      +]
    • addedInput schema / definitions / Find / properties / all
      Added value: +{
      +  "description": "All predicates are evaluated on the SAME initial event anchor, before then.",
      +  "items": {
      +    "$ref": "#/definitions/Condition"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / definitions / Find / properties / any
      Added value: +{
      +  "items": {
      +    "$ref": "#/definitions/Condition"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / definitions / Find / properties / not
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/definitions/Condition"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / definitions / Observation / properties / windows
      Added value: +{
      +  "description": "Up to four additional windows over the SAME selected event anchors.",
      +  "items": {
      +    "$ref": "#/definitions/ObservationWindow"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / definitions / ObservationWindow
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "bars": {
      +      "format": "uint16",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "start_bars": {
      +      "default": 0,
      +      "description": "Bars relative to the event anchor close; negative is pre-event.",
      +      "format": "int16",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "bars",
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / definitions / Query / properties / compare
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/definitions/Comparison"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Compare a second requested cohort on this same immutable snapshot."
      +}
  5. Changed2 schema fields changed
    • changedInput schema / definitions / Event / oneOf
      Previous value: -[
      -  {
      -    "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"
      -      },
      -      "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": "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,
      +    "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"
      +      },
      +      "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"
      +  }
      +]
    • addedInput schema / properties / force_refresh
      Added value: +{
      +  "default": false,
      +  "description": "Bypass aggregate cache; stored history is still read without exchange refresh.",
      +  "type": "boolean"
      +}
  6. Changed7 schema fields changed
    • changedInput schema / definitions / Event / oneOf
      Previous value: -[
      -  {
      -    "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"
      -      },
      -      "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": "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"
      -      },
      -      "type": {
      -        "enum": [
      -          "level"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "level",
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "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"
      +      },
      +      "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": "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"
      +  }
      +]
    • addedInput schema / definitions / GroupBy
      Added value: +{
      +  "enum": [
      +    "none",
      +    "shape"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / definitions / Level / enum
      Removed value: -[
      -  "prev_day_high",
      -  "prev_day_low",
      -  "prev_week_high",
      -  "prev_week_low"
      -]
    • addedInput schema / definitions / Level / oneOf
      Added value: +[
      +  {
      +    "enum": [
      +      "prev_day_high",
      +      "prev_day_low",
      +      "prev_week_high",
      +      "prev_week_low",
      +      "swing_low"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "description": "A pivot high (low) known pivot_bars after it printed; spent once a close goes through it.",
      +    "enum": [
      +      "swing_high"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "description": "Multiples of round_step nearest the previous close.",
      +    "enum": [
      +      "round"
      +    ],
      +    "type": "string"
      +  }
      +]
    • removedInput schema / definitions / Level / type
      Removed value: -"string"
    • addedInput schema / definitions / Observation / properties / group_by
      Added value: +{
      +  "allOf": [
      +    {
      +      "$ref": "#/definitions/GroupBy"
      +    }
      +  ],
      +  "default": "none"
      +}
    • addedInput schema / definitions / Query / properties / observe / default / group_by
      Added value: +"none"
  7. Changed54 schema fields changed
    • addedInput schema / definitions / Context / properties / day_type
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/definitions/DayType"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Saturday and Sunday UTC are the weekend."
      +}
    • addedInput schema / definitions / Context / properties / high_lookback_bars
      Added value: +{
      +  "description": "Default 720.",
      +  "format": "uint16",
      +  "minimum": 0,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedInput schema / definitions / Context / properties / max_distance_from_high_pct
      Added value: +{
      +  "description": "The anchor close is at most this far under the highest close of the last high_lookback_bars bars.",
      +  "format": "double",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedInput schema / definitions / Context / properties / utc_hours
      Added value: +{
      +  "description": "UTC hours (0 to 23) of the anchor bar's open.",
      +  "items": {
      +    "format": "uint8",
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
    • addedInput schema / definitions / Context / properties / volatility
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/definitions/Volatility"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Tercile of the mean bar range over the last 96 bars, against the 8760 bars before the anchor only."
      +}
    • addedInput schema / definitions / DayType
      Added value: +{
      +  "enum": [
      +    "weekday",
      +    "weekend"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / definitions / Detail
      Added value: +{
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / definitions / Event / oneOf
      Previous value: -[
      -  {
      -    "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"
      -      },
      -      "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,
      -    "properties": {
      -      "action": {
      -        "$ref": "#/definitions/LevelAction"
      -      },
      -      "level": {
      -        "$ref": "#/definitions/Level"
      -      },
      -      "type": {
      -        "enum": [
      -          "level"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "level",
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "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"
      +      },
      +      "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": "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"
      +      },
      +      "type": {
      +        "enum": [
      +          "level"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "level",
      +      "type"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / definitions / Features / properties / context_bars / default
      Added value: +96
    • addedInput schema / definitions / Features / properties / relative_volume / default
      Added value: +true
    • addedInput schema / definitions / Features / properties / shape / default
      Added value: +true
    • removedInput schema / definitions / Features / required
      Removed value: -[
      -  "context_bars",
      -  "relative_volume",
      -  "shape"
      -]
    • addedInput schema / definitions / FirstTouch
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "down_pct": {
      +      "format": "double",
      +      "type": "number"
      +    },
      +    "up_pct": {
      +      "format": "double",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "down_pct",
      +    "up_pct"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / definitions / Observation / properties / bars / default
      Added value: +24
    • addedInput schema / definitions / Observation / properties / bars / description
      Added value: +"Forward horizon in bars of the universe interval."
    • removedInput schema / definitions / Observation / properties / baseline / $ref
      Removed value: -"#/definitions/Baseline"
    • addedInput schema / definitions / Observation / properties / baseline / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/Baseline"
      +  }
      +]
    • addedInput schema / definitions / Observation / properties / baseline / default
      Added value: +"same_context"
    • addedInput schema / definitions / Observation / properties / first_touch
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/definitions/FirstTouch"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Which was touched first inside the horizon: up_pct above or down_pct below the anchor close."
      +}
    • addedInput schema / definitions / Observation / properties / on
      Added value: +{
      +  "description": "Measure what followed on this symbol instead of the one the event happened on, from the same bar.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedInput schema / definitions / Observation / properties / split_by / $ref
      Removed value: -"#/definitions/Split"
    • addedInput schema / definitions / Observation / properties / split_by / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/Split"
      +  }
      +]
    • addedInput schema / definitions / Observation / properties / split_by / default
      Added value: +"era"
    • removedInput schema / definitions / Observation / required
      Removed value: -[
      -  "bars",
      -  "baseline",
      -  "split_by"
      -]
    • addedInput schema / definitions / Query / properties / as_of_ms / default
      Added value: +0
    • addedInput schema / definitions / Query / properties / as_of_ms / description
      Added value: +"Research time in Unix ms. Omit or pass 0 over HTTP/MCP to pin the server clock; the pinned value is echoed back in the answer."
    • removedInput schema / definitions / Query / properties / observe / $ref
      Removed value: -"#/definitions/Observation"
    • addedInput schema / definitions / Query / properties / observe / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/Observation"
      +  }
      +]
    • addedInput schema / definitions / Query / properties / observe / default
      Added value: +{
      +  "bars": 24,
      +  "baseline": "same_context",
      +  "split_by": "era"
      +}
    • removedInput schema / definitions / Query / properties / select / $ref
      Removed value: -"#/definitions/Selection"
    • addedInput schema / definitions / Query / properties / select / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/Selection"
      +  }
      +]
    • addedInput schema / definitions / Query / properties / select / default
      Added value: +{
      +  "independence": "episode_disjoint",
      +  "limit": 50
      +}
    • changedInput schema / definitions / Query / required
      Previous value: -[
      -  "as_of_ms",
      -  "find",
      -  "observe",
      -  "select",
      -  "universe",
      -  "version"
      -]New value: +[
      +  "find",
      +  "universe",
      +  "version"
      +]
    • addedInput schema / definitions / Reference / properties / anchor_ms / default
      Added value: +0
    • changedInput schema / definitions / Reference / properties / anchor_ms / description
      Previous value: -"Open timestamp of the last CLOSED bar in the reference window."New value: +"Open timestamp of the last CLOSED bar in the reference window. Omit or pass 0 for the newest closed stored bar at as_of_ms; the bar used is returned as reference_anchor_ms."
    • addedInput schema / definitions / Reference / properties / bars / description
      Added value: +"Calibrated window lengths are 3, 5, 8 and 12 bars."
    • changedInput schema / definitions / Reference / required
      Previous value: -[
      -  "anchor_ms",
      -  "bars",
      -  "symbol"
      -]New value: +[
      +  "bars",
      +  "symbol"
      +]
    • removedInput schema / definitions / Selection / properties / independence / $ref
      Removed value: -"#/definitions/Independence"
    • addedInput schema / definitions / Selection / properties / independence / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/Independence"
      +  }
      +]
    • addedInput schema / definitions / Selection / properties / independence / default
      Added value: +"episode_disjoint"
    • addedInput schema / definitions / Selection / properties / limit / default
      Added value: +50
    • addedInput schema / definitions / Selection / properties / limit / description
      Added value: +"Similarity: how many nearest windows are studied. Event queries measure every independent event; this only caps the listed episodes."
    • removedInput schema / definitions / Selection / required
      Removed value: -[
      -  "independence",
      -  "limit"
      -]
    • removedInput schema / definitions / Similarity / properties / features / $ref
      Removed value: -"#/definitions/Features"
    • addedInput schema / definitions / Similarity / properties / features / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/Features"
      +  }
      +]
    • addedInput schema / definitions / Similarity / properties / features / default
      Added value: +{
      +  "context_bars": 96,
      +  "relative_volume": true,
      +  "shape": true
      +}
    • removedInput schema / definitions / Similarity / properties / mode / $ref
      Removed value: -"#/definitions/SearchMode"
    • addedInput schema / definitions / Similarity / properties / mode / allOf
      Added value: +[
      +  {
      +    "$ref": "#/definitions/SearchMode"
      +  }
      +]
    • addedInput schema / definitions / Similarity / properties / mode / default
      Added value: +"auto"
    • changedInput schema / definitions / Similarity / required
      Previous value: -[
      -  "features",
      -  "mode",
      -  "reference"
      -]New value: +[
      +  "reference"
      +]
    • changedInput schema / definitions / Split / enum
      Previous value: -[
      -  "none",
      -  "era",
      -  "session",
      -  "symbol"
      -]New value: +[
      +  "none",
      +  "era",
      +  "session",
      +  "symbol",
      +  "day_type"
      +]
    • addedInput schema / definitions / Transition / properties / absent
      Added value: +{
      +  "description": "The event must NOT occur in the next within_bars bars. The episode is then anchored at the last of those bars, when the absence is known.",
      +  "type": "boolean"
      +}
    • addedInput schema / definitions / Volatility
      Added value: +{
      +  "enum": [
      +    "low",
      +    "normal",
      +    "high"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / detail
      Added value: +{
      +  "allOf": [
      +    {
      +      "$ref": "#/definitions/Detail"
      +    }
      +  ],
      +  "default": "compact",
      +  "description": "compact (default): statistics, ten rounded episodes, pictures. full: every listed episode with its distance components."
      +}
  8. Added

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Well beyond the annotations, the description discloses that mode explain returns the plan without reading data while mode execute reads one content-hashed snapshot and never refreshes or writes candles, and that an unavailable backend is an error rather than a legacy fallback. It also surfaces statistical caveats the agent would otherwise misreport: intervals are per-query and do not correct for multiple queries, baselines use effectiveN independent windows, groups are exploratory, and the level baseline exists precisely because price recrosses lines often. Coverage and data-quality risks (ZEC 5m exceeding the row budget, snapshot.truncated_symbols, genuine gaps) are also disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph running to several hundred words with no headings or grouping, mixing query syntax, event taxonomy, statistical caveats, and answer-formatting instructions. It is badly front-loaded: the smallest working query example and the tool's actual purpose sit deep inside the block. Most sentences carry information, but the lack of structure and the volume of output-contract policy make it hard to scan for a tool-selection decision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with four top-level parameters but a deeply nested query schema and no output schema, the description supplies everything an agent needs to invoke it correctly: a minimal valid query, defaults and their echo behavior, admissible symbols/intervals/parameters, event and transition taxonomy including absent:true and same_level, baseline semantics, and explicit result-quoting rules. It also documents coverage boundaries and truncation inspection. Little material for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at 50%, the description carries real weight: it explains defaulting and echo-back behavior for as_of_ms ('pin as_of_ms to repeat a result exactly'), the newest-closed-bar default for reference.anchor_ms, select.limit's differing role in event versus similarity queries, and observe defaults of 24 bars split by era. It also enumerates admissible values not obvious from the schema alone (symbols and aliases, calibrated similarity bar lengths 3/5/8/12, horizon 1-96, up to four sources, 750000/2250000 row budgets). Some of this duplicates schema defaults, which keeps it below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb and resource: 'Research stored candle history with a typed query' returning what followed an event, a sequence of events, or similar windows, against a baseline. It also explicitly separates itself from a named alternative ('These semantics differ from query_market_memory, so counts are not interchangeable'). The purpose is clear but arrives only after a large block of interpretation and output-formatting rules, so an agent must read past unrelated policy text to find it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is unusually specific in places: when to treat ordinary-language 'fell 5%' as excursion versus an explicit close-to-close comparison, when to pick mode explain versus execute, and when to use observe.on versus observe.versus versus first_touch. It also warns that counts are not interchangeable with query_market_memory. It does not, however, give explicit when-not-to-use guidance relative to the many other research siblings, leaving the agent to infer routing for those.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources