9일 신고가 매수 조건 오류
This commit is contained in:
@@ -20,6 +20,12 @@ public final class IndicatorHlineResolver {
|
||||
|
||||
if (field == null || field.isBlank()) return null;
|
||||
|
||||
// 지표 시리즈 필드 — 접미 숫자를 임계값 상수로 오인하지 않음 (NH_PRIOR_9 → 9.0 버그 방지)
|
||||
if (field.startsWith("NH_PRIOR_") || field.startsWith("NL_PRIOR_")
|
||||
|| field.startsWith("DC_UPPER_") || field.startsWith("DC_LOWER_") || field.startsWith("DC_MIDDLE_")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
boolean override = cond != null && cond.path("thresholdOverride").asBoolean(false);
|
||||
|
||||
// K_* = 직접입력 숫자 스냅샷 — hline 역할로 치환하지 않음 (K_55 → 55)
|
||||
@@ -54,6 +60,10 @@ public final class IndicatorHlineResolver {
|
||||
private static boolean isThresholdRoleField(String field) {
|
||||
if (field == null || field.isBlank()) return false;
|
||||
if (field.startsWith("K_")) return true;
|
||||
if (field.startsWith("NH_PRIOR_") || field.startsWith("NL_PRIOR_")
|
||||
|| field.startsWith("DC_UPPER_") || field.startsWith("DC_LOWER_") || field.startsWith("DC_MIDDLE_")) {
|
||||
return false;
|
||||
}
|
||||
if ("HL_OVER".equals(field) || "HL_MID".equals(field) || "HL_UNDER".equals(field)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user