Some checks failed
CI / test (pull_request) Has been cancelled
잔액 부족(주문가능금액 부족) 에러 발생 시 해당 종목을 10분간 BUY 시도에서 제외하는 cooldown 메커니즘을 realtime/daily 루프 모두에 적용. - _BUY_COOLDOWN_SECONDS = 600 상수 추가 - trading_cycle()에 buy_cooldown 파라미터 추가 - 잔액 부족 에러(주문가능금액) 감지 후 cooldown 설정 - BUY 실행 전 cooldown 체크 (realtime + daily session 모두) - TestBuyCooldown 테스트 클래스 4개 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
96 KiB
96 KiB