n봉 존재 조건 수정

This commit is contained in:
Macbook
2026-06-12 23:40:20 +09:00
parent b55349062f
commit 4a6be82c15
8 changed files with 365 additions and 32 deletions
@@ -490,7 +490,9 @@ public class LiveConditionStatusService {
String indType = c.path("indicatorType").asText("");
String plotKey = plotKeyFromCondition(c, indType);
String condType = c.path("conditionType").asText("GT");
String condLabel = CONDITION_LABEL.getOrDefault(condType, condType);
String baseLabel = CONDITION_LABEL.getOrDefault(condType, condType);
String rangePrefix = StrategyDslToTa4jAdapter.candleRangeConditionPrefix(c);
String condLabel = rangePrefix.isBlank() ? baseLabel : rangePrefix + baseLabel;
Double target = readTargetNumeric(c, visual);
return LiveConditionRowDto.builder()
.id(p.id())
@@ -535,7 +537,9 @@ public class LiveConditionStatusService {
String indType = c.path("indicatorType").asText("");
String plotKey = plotKeyFromCondition(c, indType);
String condType = c.path("conditionType").asText("GT");
String condLabel = CONDITION_LABEL.getOrDefault(condType, condType);
String baseLabel = CONDITION_LABEL.getOrDefault(condType, condType);
String rangePrefix = StrategyDslToTa4jAdapter.candleRangeConditionPrefix(c);
String condLabel = rangePrefix.isBlank() ? baseLabel : rangePrefix + baseLabel;
return LiveConditionRowDto.builder()
.id(p.id())