V2-3-3: Decision outcome 업데이트 (decision_id in trades) #92

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

요약

  • trades에 decision_id 컬럼 추가 및 SELL 시 원본 BUY 업데이트.

변경

  • src/db.py: trades 테이블 decision_id 컬럼.
  • src/main.py: DecisionLogger.update_outcome() 호출 연결.
  • tests/test_main.py ~5 tests 추가.

수락 기준

  • SELL로 BUY decision outcome_pnl 업데이트.

검증

  • pytest tests/test_main.py -v
요약 - trades에 decision_id 컬럼 추가 및 SELL 시 원본 BUY 업데이트. 변경 - src/db.py: trades 테이블 decision_id 컬럼. - src/main.py: DecisionLogger.update_outcome() 호출 연결. - tests/test_main.py ~5 tests 추가. 수락 기준 - SELL로 BUY decision outcome_pnl 업데이트. 검증 - 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#92