전략평가 오류 수정

This commit is contained in:
Macbook
2026-06-17 01:16:41 +09:00
parent f1ce499809
commit 7c3f3433e7
7 changed files with 210 additions and 27 deletions
@@ -123,6 +123,13 @@ final class OhlcvBarSeriesSupport {
if (node == null || node.isNull()) return;
String type = node.path("type").asText("");
if ("TIMEFRAME".equals(type)) {
JsonNode types = node.path("candleTypes");
if (types.isArray()) {
for (JsonNode t : types) {
String ct = t.asText("");
if (!ct.isBlank()) result.add(normalizeTf(ct));
}
}
String ct = node.path("candleType").asText("");
if (!ct.isBlank()) result.add(normalizeTf(ct));
}