You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
All five build_planned_order() calls in apps/paper_trader/engine.py were missing execution_config, causing build_planned_order to fall back to base config.execution and silently ignore per-engine target_1_r_override, target_1_fraction_override, max_holding_days, tiered-target settings, etc. The backtester has always passed execution_config=_build_effective_execution_config() (run.py:2210). This divergence caused paper trading to compute wrong target prices and partial-exit fractions — e.g. AVGO entered with target_r=1.5 (base) instead of 3.0 (engine override), triggering a premature partial exit on 4/15 that the backtest never produced. Fix: add execution_config=build_effective_execution_config(candidate, self._config) to all five call sites and hoist the function to the module-level import. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
4 months ago | |
|---|---|---|
| .. | ||
| backtester | 4 months ago | |
| experiment | 4 months ago | |
| orb_trader | 4 months ago | |
| overfit | 4 months ago | |
| paper_trader | 4 months ago | |
| pipeline | 4 months ago | |
| qa | 5 months ago | |
| review | 5 months ago | |
| scenario | 5 months ago | |
| sync | 5 months ago | |
| tools | 4 months ago | |
| tracker | 4 months ago | |
| web | 4 months ago | |
| web_frontend | 4 months ago | |
| __init__.py | 5 months ago | |