feat: L7 실시간 컨텍스트 시장별 기록 (issue #85) #116

Merged
jihoson merged 1 commits from feature/issue-85-l7-context-write into main 2026-02-10 04:22:57 +09:00
Collaborator

Summary

  • trading_cycle()에서 L7_REALTIME 데이터 쓰기 추가 (volatility, price, rsi, volume_ratio)
  • 키 포맷 통일: {metric}_{market}_{stock_code} (예: volatility_KR_005930)
  • scanner.py L7 키 정규화 (기존 {market}_{stock}_volatilityvolatility_{market}_{stock})
  • main.py L7 읽기 키 정합성 수정 (기존 불일치 버그 해소)
  • 미사용 MarketScanner 데드코드 제거

Test plan

  • test_trading_cycle_sets_l7_context_keys — L7 쓰기 키 포맷 검증
  • test_scan_market — scanner 키 포맷 검증 (scan_result_KR)
  • 48/48 tests passed, ruff clean

Closes #85

## Summary - trading_cycle()에서 L7_REALTIME 데이터 쓰기 추가 (volatility, price, rsi, volume_ratio) - 키 포맷 통일: `{metric}_{market}_{stock_code}` (예: `volatility_KR_005930`) - scanner.py L7 키 정규화 (기존 `{market}_{stock}_volatility` → `volatility_{market}_{stock}`) - main.py L7 읽기 키 정합성 수정 (기존 불일치 버그 해소) - 미사용 MarketScanner 데드코드 제거 ## Test plan - [x] test_trading_cycle_sets_l7_context_keys — L7 쓰기 키 포맷 검증 - [x] test_scan_market — scanner 키 포맷 검증 (scan_result_KR) - [x] 48/48 tests passed, ruff clean Closes #85
agentson added 1 commit 2026-02-10 04:22:21 +09:00
feat: L7 real-time context write with market-scoped keys (issue #85)
Some checks failed
CI / test (pull_request) Has been cancelled
c4e31be27a
- Add L7_REALTIME writes in trading_cycle() for volatility, price, rsi, volume_ratio
- Normalize key format to {metric}_{market}_{stock_code} across scanner and main
- Fix existing key mismatch between scanner writes and main reads
- Remove unused MarketScanner dead code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jihoson merged commit 3cdd10783b into main 2026-02-10 04:22:57 +09:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#116