workflow.run_session_structure
Market Profile day-type classifier — trend / balance / neutral_trend / normal / normal_var, from TPO, initial balance, range extension and value migration. Use for "is this a trend day or a balance day?".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Exchange to fetch candles from when candles[] not supplied | |
| candles | No | Optional OHLCV for the session — omit to fetch from venue (reproducible + 0 COGS when supplied) | |
| timeframe | No | Candle timeframe (default 15m) | |
| instrument | Yes | Symbol, e.g. BTCUSDT | |
| prev_candles | No | Optional OHLCV for the previous session | |
| session_date | Yes | Session date YYYY-MM-DD (UTC) | |
| value_area_rule | No | Value-area fraction 0.5–0.9 (default 0.70) |