V2-1-7: main.py 통합 (플레이북 + 시나리오 엔진) #84

Closed
opened 2026-02-08 00:57:03 +09:00 by agentson · 0 comments
Collaborator

요약

  • 플레이북 생성/로컬 매칭을 트레이딩 루프에 통합.

변경

  • src/main.py: planner/engine/store 초기화, brain.decide() 제거, 주기적 재스캔.
  • tests/test_main.py ~15 tests 추가.

동작

  • Pre-market: scan -> playbook -> persist.
  • In-market: scenario_engine.evaluate()로 결정.
  • WATCHLISTS/STOCK_UNIVERSE 완전 제거.

수락 기준

  • KR/US 플레이북 분리.
  • 플래너 실패/빈 스캔 시 거래 없음.

검증

  • pytest tests/test_main.py -v
요약 - 플레이북 생성/로컬 매칭을 트레이딩 루프에 통합. 변경 - src/main.py: planner/engine/store 초기화, brain.decide() 제거, 주기적 재스캔. - tests/test_main.py ~15 tests 추가. 동작 - Pre-market: scan -> playbook -> persist. - In-market: scenario_engine.evaluate()로 결정. - WATCHLISTS/STOCK_UNIVERSE 완전 제거. 수락 기준 - KR/US 플레이북 분리. - 플래너 실패/빈 스캔 시 거래 없음. 검증 - pytest tests/test_main.py -v
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#84