Path Risk: Level Touch and Range Expansion Probabilities
get_path_riskHow likely is price to touch a nearby level, or the range to widen, within the next H bars? Use this for stop, target and level questions: 'will BTC tag yesterday's high in the next 5 hours', 'how far can ETH reach in 20 bars'. For the latest closed bar (or a replay at anchorMs) it returns, per horizon: the 48-bar high/low and previous UTC day and week high/low with distance in % and in volatility units and the probability each is touched; the probability the range is wider than the previous H bars (on 5m-1h from the risk-state memory: the 100 most similar past risk states, shrunk toward the history estimate and recalibrated, with similarEpisodes listing the closest five and their outcomes); a touch ladder (prices reached with 75/50/25/10% probability above and below); and an out-of-sample check over the latest bars of this market (Brier against the base rate and a reliability table: predicted vs observed). Method: past H-bar paths measured in units of the volatility at their start, compared with today's distance in today's volatility; no model and no analogue search. A study on 2026-11-14 found this ranked level touches with AUC 0.85-0.91 at 5 bars and beat a gradient-boosted model; which extreme comes first was not predictable, so it is not offered. Quote brief. A probability of reach, not of direction and not a plan. NO_TRADE.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_path_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | BTCUSDT, ETHUSDT, SOLUSDT or ZECUSDT. Default BTCUSDT. | BTCUSDT |
| anchorMs | No | Replay at the bar opening at (or last before) this Unix millisecond time instead of the latest closed bar. Only bars already closed are used, so the answer is what the tool would have said then; if the horizon has since passed, the realized result is included. | |
| horizons | No | Bars ahead to measure, up to four values from 1 to 120. Default [5, 20]. | |
| interval | No | Candle size: 5m, 15m, 1h, 4h, 1d. Default 1h. | 1h |
| calibrationBars | No | How many recent bars the built-in out-of-sample check scores. Default 1000. |