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 fb4fec7dac Unify BacktestRunner and PaperTradingEngine trade decision logic
Phase 1-4 of engine unification to eliminate research/live divergence.

Phase 1 — Scoring (event_detector.py):
  EventDetector now uses config's scoring_model (v5/v9 etc.) when
  event_v1 features are present (parse_confidence_overall not null).
  Falls back to compute_entry_score only for incomplete events.

Phase 2 — Execution config (execution.py):
  Extracted build_effective_execution_config() as shared function.
  BacktestRunner delegates to it. PaperTradingEngine can now use
  identical per-engine overrides, adaptive exit, tiered targets.

Phase 3 — Attention filtering (attention.py):
  New AttentionFilterService class extracted from BacktestRunner.
  Provides: engine_requires_attention, apply_filters, rescoring.
  BacktestRunner now delegates to this service.
  PaperTradingEngine can import and use the same service.

Phase 4 — Gap cap (execution.py):
  check_next_open_gap_cap() shared function for next-open gap rejection.

All 450 unit tests pass. Paper backtest verified working.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 months ago
..
backtest Unify BacktestRunner and PaperTradingEngine trade decision logic 5 months ago
common feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 5 months ago
db feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 5 months ago
export Add v10 macro regime scoring (VIX+HY) and FRED macro features — SQS 59.1 (rejected) 5 months ago
features feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 5 months ago
labeler feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 5 months ago
llm fix: disable Qwen3.5 thinking mode and switch OllamaClient to sync httpx 5 months ago
oracle_client Add attention client and continue PEAD research 5 months ago
parser feat: implement Phase 3 -- LLM enrichment, labeler, review queue, dataset export 5 months ago
review feat: implement Phase 3 -- LLM enrichment, labeler, review queue, dataset export 5 months ago
schemas feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 5 months ago
__init__.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 5 months ago