Explain a Decision
explain_decisionCall this when the user asks why a symbol's signal reads the way it does — a structured, multi-layer
"why" for one symbol; include=["history","feedback","roles"] adds signal history, pattern feedback and
the per-timeframe role view.
Purpose: Combines (1) technical score_trace from the signals store, (2) Thompson + regime
scores from the virtual decision log (Thompson = Bayesian bandit sampling used for
strategy selection), (3) news causality context.
Triggers (casual questions too): "why is BTC bullish?", "이 종목 신호 근거가 뭐야?",
"explain that signal", "판단 근거 설명해줘", "walk me through the reasoning",
"is BTC bullish across timeframes?", "시간대별 신호가 일치해?", "signal history for AAPL?".
When to call: when the user asks "why is this signal bullish/bearish?".
Prerequisites: identify the symbol via get_signals first.
Next steps: none (this completes the explanation chain).
Caveats: symbol must match the per-symbol signal store filename (lowercase).
Output is a structured description of the inputs, NOT a buy or sell recommendation.
Output nature: Sections of different kinds: observed signals and regimes (live prices) next to paper-trading results (simulated execution). See meta.data_type_sections.
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": {
"market_id": "<market_id>",
"symbol": "<symbol>"
},
"name": "explain_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol to explain (e.g., btc, eth, 005930) | |
| include | No | Optional extra sections under `included`: history (latest combined signal + recent history), feedback (pattern feedback from paper-trade outcomes), roles (per-role multi-timeframe alignment: timing / trend / swing / regime). Default none = the explanation only. | |
| market_id | Yes | Market identifier (crypto, kr_stock, us_stock; aliases coin/kr/us) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full_data | No | ||
| timestamp | Yes | RFC3339 UTC, server build time | |
| disclaimer | Yes | Canonical compliance disclaimer (always present) | |
| request_id | Yes | 32-hex per-response correlation id | |
| is_real_money | No | ||
| data_classification | No | ||
| is_investment_advice | No |