전략및 버그 수정
This commit is contained in:
@@ -147,7 +147,7 @@ class KosdaqScanner:
|
||||
volume_ratio = td.volume / volume_ma20
|
||||
|
||||
rsi_score = max(0.0, (25.0 - rsi14) / 25.0)
|
||||
bb_score = max(0.0, (0.0 - pct_vs_lower) / 3.0)
|
||||
bb_score = min(max(0.0, (0.0 - pct_vs_lower) / 3.0), 1.0) # 상한 1.0 — 폭락 종목 점수 왜곡 방지
|
||||
volume_score = min(volume_ratio, 2.0)
|
||||
total_score = rsi_score * 0.5 + bb_score * 0.3 + volume_score * 0.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user