V2-1-1: 전략/플레이북 Pydantic 모델 정의 #79

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

요약

  • 시나리오/플레이북/크로스마켓 컨텍스트 모델 추가.

변경

  • 신규: src/strategy/init.py, src/strategy/models.py
  • 신규 테스트: tests/test_strategy_models.py (~25)

모델

  • StockCondition, StockScenario, StockPlaybook, GlobalRule, DayPlaybook
  • Enums: ScenarioAction, MarketOutlook, PlaybookStatus
  • CrossMarketContext

수락 기준

  • Pydantic 검증 및 enum 제약 동작.
  • DayPlaybook에 market 필드(KR/US) 포함.

검증

  • pytest tests/test_strategy_models.py -v
요약 - 시나리오/플레이북/크로스마켓 컨텍스트 모델 추가. 변경 - 신규: src/strategy/__init__.py, src/strategy/models.py - 신규 테스트: tests/test_strategy_models.py (~25) 모델 - StockCondition, StockScenario, StockPlaybook, GlobalRule, DayPlaybook - Enums: ScenarioAction, MarketOutlook, PlaybookStatus - CrossMarketContext 수락 기준 - Pydantic 검증 및 enum 제약 동작. - DayPlaybook에 market 필드(KR/US) 포함. 검증 - pytest tests/test_strategy_models.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#79