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
..
__init__.py feat: implement Phase 4 -- event-driven backtester 5 months ago
test_allocator.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_artifacts.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_attention.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_calendar.py feat: implement Phase 4 -- event-driven backtester 5 months ago
test_domain.py Optimize v7 strategy: v7.356 achieves CW 2159% + SQS 90.7 (Pareto improvement over v7.314) 4 months ago
test_earnings_calendar.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_earnings_runup.py Wire pct-trailing end-to-end for EarningsRunup; tune v2 risk profile 3 months ago
test_event_gen.py Add synthetic scenario robustness testing system 5 months ago
test_execution.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_experiments.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_macro_gen.py Fix cash parking phantom-money bug + live engine parking liquidation for events 5 months ago
test_manifests.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_metrics.py Recalibrate public SQS and exposure-aware tracking 5 months ago
test_non_core_allocator_v2.py Add non-core allocator v2 and Form4 freshness presets 4 months ago
test_peer_sympathy.py Add 3 candidate engine classes beyond PEAD: EarningsRunup, PeerSympathy, VolBreakout52w 3 months ago
test_price_gen.py Fix cash parking phantom-money bug + live engine parking liquidation for events 5 months ago
test_run_volatility_crush.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_run_window_extension.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_scenario_robustness.py Add synthetic scenario robustness testing system 5 months ago
test_scoring.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_selector.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_snapshot_store.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_snapshots.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_splits.py Update tests for pipeline, backtest engine, paper trader, and new modules 5 months ago
test_store_builder.py Add synthetic scenario robustness testing system 5 months ago
test_tracker.py Add ownership/risk-off sleeves, v17-v19 experiments, and web app restructure 4 months ago
test_vol_breakout_52w.py Add 3 candidate engine classes beyond PEAD: EarningsRunup, PeerSympathy, VolBreakout52w 3 months ago