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 68102f1b3a Add reaction_close salvage variant to PeerSympathy engine
Add peer_sympathy_entry_timing_policy ("next_open"|"reaction_close") and
peer_sympathy_leader_filing_time_buckets to StrategyEngineConfig. The
reaction_close variant enters peers at peer's T 16:00 ET close on the
SAME trading day as the leader's print, addressing the v1 hypothesis
failure where T+1 gap had already absorbed the news overnight.

Lookahead defenses tightened for the new branch: cutoff is T 16:00 ET
(_bar_close_timestamp(decision_date)) instead of T+1 09:30 ET; bucket
allow-list excludes AMC filings (which under PEAD's reaction_date=T+1
convention pass the timestamp check but defeat same-session sympathy).
LeaderPrint now carries filing_time_bucket from the runner.

Runner: split _schedule_peer_sympathy_candidates into two phases.
reaction_close fires BEFORE _select_candidates_for_date(date) and emits
into _scheduled_add_ons[date]; next_open keeps the existing tail-of-loop
position emitting into _scheduled_delayed_entries[next_date].

v2 backtest (1052 trading days, midlarge-liquid-long-v1 snapshot):
  trades 256→120, return -52.9%→-2.4%, MDD 61.6%→24.5%, SQS 19.6→30.2.

Sample sympathy plays: GOOGL on META +7.7%, AVGO on COHR +6.3%,
SLB on HAL +5.5%, GE on HWM +5.1%. Profit factor 0.977 (one tweak
from breakeven). Verdict: VIABLE BUT WEAK — salvage hypothesis
empirically validated, near breakeven, not promoted yet.

35/35 peer_sympathy unit tests pass (29 pre-existing + 6 new for
reaction_close path).

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 Add reaction_close salvage variant to PeerSympathy engine 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 reaction_close salvage variant to PeerSympathy engine 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