n봉 존재 조건 수정
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user