Commit Graph

4 Commits

Author SHA1 Message Date
whdwo798 bbcb935bf3 공휴일 스케줄러 스킵 추가 — holidays 라이브러리 활용
- scripts/_is_trading_day.py 신규: 한국 공휴일+대체공휴일 판단 (exit 0=거래일, 1=휴장)
  * holidays.SouthKorea() 기반, 제헌절(7/17) 오탐 제외 처리
- run_morning/midday/evening/bot.ps1: 스크립트 상단에 공휴일 체크 추가
  * 휴장일이면 로그 기록 후 즉시 종료 (Claude/봇 미실행)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 14:55:12 +09:00
whdwo798 1690f4e248 버그 수정 — 스케줄러 한글 경로 깨짐 + Python 로그 UTF-8 강제
- setup_scheduler.ps1: chcp 65001, StockBot_Bot 제거, XML 경로 자동 교정
- run_morning/midday/evening.ps1: chcp 65001 + PYTHONUTF8=1 추가
- app/main.py: sys.stdout.reconfigure(encoding=utf-8) 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 13:54:15 +09:00
whdwo798 7c9f73f63d [2026-05-15] 스케줄러 인코딩·권한·Discord 알림 수정
- run_*.ps1: PSScriptRoot 경로, claude.cmd 전체경로, UTF-8 BOM 저장으로 한글 깨짐 해결
- settings.json: PYTHONUTF8=1 환경변수, 글로벌 bypassPermissions 추가
- discord_notify.py: 커밋 메시지 불릿 + 커밋 완료 여부만 전송하도록 간소화

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 15:00:10 +09:00
whdwo798 a65d7c297b [2026-05-15] claude_evening 구현 + 권한 영구 적용
- app/ai/evening.py: 장후 데이터 수집 (매매내역/30일통계/실전전환조건)
- ~/.claude/commands/evening.md: /evening 슬래시 커맨드
- scripts/run_evening.ps1: claude_evening 실행 스크립트
- 작업 스케줄러 StockBot_Evening 등록 (평일 15:30)
- .claude/settings.json: bypassPermissions 추가 (권한 영구 승인)
- CLAUDE.md: 권한 섹션 추가, 할 일 목록 업데이트

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 14:07:15 +09:00