fix: reduce rate limit from 10 to 5 RPS to avoid API errors (issue #43) #47
Reference in New Issue
Block a user
Delete Branch "feature/issue-43-reduce-rate-limit"
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
RATE_LIMIT_RPSfrom 10.0 to 5.0Problem
Docker logs showed rate limit errors as most frequent failure (70%):
KIS API's actual rate limit appears lower than 10 RPS when scanning multiple stocks.
Solution
More conservative rate limiting to stay within API constraints.
Files Changed
src/config.py: Default value 10.0 → 5.0.env.example: Update default and add commentTrade-offs
.envfileTest Coverage
Closes
Closes #43
🤖 Generated with Claude Code