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.
I Luk Kim 465e248cb4 Wire pct-trailing end-to-end for EarningsRunup; tune v2 risk profile
Fix EarningsRunup trailing config that was previously captured in
Candidate.features only. Add activation-gated pct trailing to
update_trailing_stop with entry-relative giveback semantics
("lock in peak − giveback% of entry"). Plumb through
Candidate → ExecutionConfig → simulator. Default None preserves
legacy pct_X behavior — no impact on engines that don't opt in.

Add earnings_runup_poc_v2_tuned config: per_trade_risk_pct 0.65→0.30,
max_positions 30→8, max_positions_per_sector 30→4, macro_vix_max=30,
trailing_warmup_days 7→0 (activation gate replaces warmup).

v2 backtest (4y, 121 trades) vs v1 baseline (119 trades):
  Total return:  +37.27%  →  +254.69%
  Max drawdown:  53.23%   →  23.97%
  SQS:           45.2     →  69.7
  Robustness:    50.1     →  100.0
  Risk score:    23.5     →  35.0
  STOP r-mult:   −0.41    →  +0.65 (trailing-locked winners)

Promotion thresholds met: MDD < 25%, return preserved, SQS > 55.
Recommend integration as PEAD sleeve adjunct (orthogonal entry timing:
pre-print attention runup vs post-print drift) rather than standalone.

7 new pct-trailing tests: activation gate, ratchet, no-ratchet-down,
reversal-stop, legacy compat, end-to-end engine wiring. 28 passed.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3 months ago
..
scenarios Add synthetic scenario robustness testing system 5 months ago
__init__.py feat: implement Phase 4 -- event-driven backtester 5 months ago
allocator.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
artifacts.py Add non-core allocator v2 and Form4 freshness presets 4 months ago
attention.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
calendar.py feat: implement Phase 4 -- event-driven backtester 5 months ago
daily_gainers.py Remove momentum breakout sleeve (overfitting, valid -31%) and revert related code 4 months ago
dividend_calendar.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
domain.py Wire pct-trailing end-to-end for EarningsRunup; tune v2 risk profile 3 months ago
earnings_calendar.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
earnings_runup.py Wire pct-trailing end-to-end for EarningsRunup; tune v2 risk profile 3 months ago
execution.py Wire pct-trailing end-to-end for EarningsRunup; tune v2 risk profile 3 months ago
experiments.py Optimize v7 strategy: v7.356 achieves CW 2159% + SQS 90.7 (Pareto improvement over v7.314) 4 months ago
form4_calendar.py Add v7.120 composed GLD experiment updates 4 months ago
macro_screener.py Remove momentum breakout sleeve (overfitting, valid -31%) and revert related code 4 months ago
manifests.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
metrics.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
non_core_allocator.py Add non-core allocator v2 and Form4 freshness presets 4 months ago
overfit.py Fix cash parking phantom-money bug + live engine parking liquidation for events 5 months ago
ownership_calendar.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
peer_sympathy.py Add 3 candidate engine classes beyond PEAD: EarningsRunup, PeerSympathy, VolBreakout52w 3 months ago
proxies.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
ranking_models.py Add overlay engine, ranking models, snapshot pipelines, and research tools 5 months ago
scoring.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
selector.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
snapshot_store.py Fix parking entry/exit showing same price on last simulation day 4 months ago
snapshots.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
splits.py Enhance backtest engine: v11 scoring, selector expansion, snapshot store improvements 5 months ago
tracker.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
vol_breakout_52w.py Add 3 candidate engine classes beyond PEAD: EarningsRunup, PeerSympathy, VolBreakout52w 3 months ago