compute_dqs
Score a planned trade's decision process before execution using five factors: regime match, position sizing vs Kelly, strategy adherence, risk state, and historical pattern.
Instructions
Compute Decision Quality Score before executing a trade.
Evaluates the quality of the decision process (not outcome) across 5 factors: regime match, position sizing vs Kelly, process adherence (OWM similarity), risk state, and historical pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Trading instrument (e.g. "XAUUSD"). | |
| direction | Yes | Intended direction ("long" or "short"). | |
| strategy_name | Yes | Strategy being considered (e.g. "VolBreakout"). | |
| context_atr_d1 | No | ATR(14) on D1 in dollars. | |
| context_regime | No | Market regime (trending_up/trending_down/ranging/volatile). | |
| market_context | No | Description of current market conditions. | |
| proposed_lot_size | No | Planned position size in lots (default 0.1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||