fix: ranking API 필수 파라미터 KEYB 추가 및 GUBN 값 수정 (#258) #260
Reference in New Issue
Block a user
Delete Branch "feature/issue-258-ranking-api-keyb-param"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
fetch_overseas_rankings()의 fluctuation/volume params에KEYB: ''추가rt_cd=2, ERROR INPUT FIELD NOT FOUND [KEYB]발생0=하락율, 1=상승율(이전 주석은0=전체로 잘못 기재)0→1: 상승율 기준 급등 종목 스캔영향
기존: ranking API 항상 실패 → fallback(거래 이력 기반) → TQQQ 같은 이전 종목만 반복
수정 후: 실시간 변동성/상승률 상위 종목 스캔 정상 작동
Test plan
test_fluctuation_uses_correct_params— KEYB, GUBN=1 검증test_volume_uses_correct_params— KEYB 검증Closes #258