전략평가 오류 수정
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user