agentson
|
2f9efdad64
|
feat: integrate decision logger with main trading loop
CI / test (pull_request) Has been cancelled
- Add DecisionLogger to main.py trading cycle
- Log all decisions with context snapshot (L1-L2 layers)
- Capture market data and balance info in context
- Add comprehensive tests (9 tests, 100% coverage)
- All tests passing (63 total)
Implements issue #17 acceptance criteria:
- ✅ decision_logs table with proper schema
- ✅ DecisionLogger class with all required methods
- ✅ Automatic logging in trading loop
- ✅ Tests achieve 100% coverage of decision_logger.py
- ⚠️ Context snapshot uses L1-L2 data (L3-L7 pending issue #15)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-04 15:47:53 +09:00 |
|