Investigate Event & Session Candle Hypothesis
investigate_candle_event_hypothesisTest whether a candle window behaves differently under UTC sessions (Asia, London, US overlap / CPI / NY open, New York), a UTC event hour (for example 14:00 UTC FOMC), weekday versus weekend, or a pre-pattern volatility regime. A price order is replayed only when levelPrice, targetPrice and invalidationPrice are all supplied. Omitting the level returns the session profile and does not invent a price from P90 or P10. A level alone reports reach. Always returns NO_TRADE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| f | No | Forward horizon preset: 5, 10, 30 or 50. Default 10. | |
| q | No | Pattern length preset: 3, 5, 8 or 12. Default 5. | |
| symbol | No | BTCUSDT, ETHUSDT or SOLUSDT. Default BTCUSDT. | BTCUSDT |
| dayType | No | Filter analogues by 'weekday' (Mon-Fri), 'weekend' (Sat-Sun), or 'all'. | all |
| session | No | UTC session filter for historical analogues: 'auto' matches the query window's own UTC session; 'asia' (00-08 UTC), 'london' (08-13 UTC), 'usOverlap' (13-16 UTC, CPI/NY open), 'newYork' (16-22 UTC), 'lateUtc' (22-24 UTC), or 'all'. | auto |
| utcHour | No | Optional specific UTC event hour (0..23) to condition on, e.g. 14 for FOMC or 12/13 for CPI releases. | |
| anchorTs | No | Optional historical snapshot timestamp in Unix ms. | |
| interval | No | Supported chart timeframe: 5m, 15m, 1h, 4h, or 1d. Default 1h. | 1h |
| levelPrice | No | Price level the caller named. If omitted, the tool returns the session profile and does not invent a level from P90 or P10. Alias: level. | |
| targetPrice | No | Target the caller named. Used only when supplied. Alias: target. | |
| utcHourTolerance | No | Tolerance in hours around utcHour when utcHour is supplied. Default 1.5 hours. | |
| volatilityRegime | No | Pre-pattern candle range filter relative to the query window's mean bar range (uses only the q pattern bars, never forward outcomes): 'compressed' (<0.75x), 'similar_range' (0.5x..2.0x), 'expanded' (>1.25x), or 'all'. | all |
| invalidationPrice | No | Invalidation the caller named, on the opposite side of levelPrice. Used only when supplied. Aliases: stop, stopPrice, invalidation. |