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 98923e8620 Add Phase 6 reconciliation: position integrity, kill switch, order fill verification
- ReconciliationReport dataclass tracking orphaned/ghost positions and stale orders
- _cancel_stale_orders(): cancel leftover open orders at daily run start
- _reconcile_positions(): detect Alpaca vs local state mismatches; auto-close ghost positions with RECONCILED exit reason
- _verify_order_fill(): poll broker up to 2s to confirm market order fill before saving state
- _check_kill_switch(): activate and persist kill switch at 25% drawdown; blocks new entries
- run_daily() and _process_entries() wired with all safety checks
- 18 unit tests covering all reconciliation scenarios

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 months ago
..
backtest Remove overlay backtesting and scoring 7 months ago
paper_trader Add Phase 6 reconciliation: position integrity, kill switch, order fill verification 7 months ago
tools Remove overlay backtesting and scoring 7 months ago
__init__.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 7 months ago
test_config.py feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 7 months ago
test_continuation_snapshot.py Update tests for pipeline, backtest engine, paper trader, and new modules 7 months ago
test_db_models.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 7 months ago
test_event_features.py feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 7 months ago
test_file_store.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 7 months ago
test_financial_features.py implement Phase 2 gap items: backfill CLI, retry, financial features 7 months ago
test_fred_service.py test: Phase 1/2 체크리스트 재작성 및 Oracle 실연동 통합 테스트 7 months ago
test_ids.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 7 months ago
test_labeler.py feat: PEAD mid-cap strategy + pipeline hardening + README cleanup 7 months ago
test_llm_cache.py feat: implement Phase 3 -- LLM enrichment, labeler, review queue, dataset export 7 months ago
test_llm_client.py fix: disable Qwen3.5 thinking mode and switch OllamaClient to sync httpx 7 months ago
test_llm_parser_stub.py test: Phase 1/2 체크리스트 재작성 및 Oracle 실연동 통합 테스트 7 months ago
test_logging.py test: Phase 1/2 체크리스트 재작성 및 Oracle 실연동 통합 테스트 7 months ago
test_market_features.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 7 months ago
test_merged_snapshot.py Update tests for pipeline, backtest engine, paper trader, and new modules 7 months ago
test_merger.py feat: implement Phase 3 -- LLM enrichment, labeler, review queue, dataset export 7 months ago
test_oracle_client.py Add attention client and continue PEAD research 7 months ago
test_retries.py test: Phase 1/2 체크리스트 재작성 및 Oracle 실연동 통합 테스트 7 months ago
test_review_queue.py feat: implement Phase 3 -- LLM enrichment, labeler, review queue, dataset export 7 months ago
test_rule_parser.py Update tests for pipeline, backtest engine, paper trader, and new modules 7 months ago
test_schema_validator.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 7 months ago
test_snapshot_export.py Update tests for pipeline, backtest engine, paper trader, and new modules 7 months ago
test_text_normalizer.py Update tests for pipeline, backtest engine, paper trader, and new modules 7 months ago
test_time_utils.py feat: implement ACE-F v1 Phase 1 -- Stock Oracle 기반 이벤트 파이프라인 7 months ago