일목균형표 수정
This commit is contained in:
@@ -58,6 +58,7 @@ public class LiveStrategyTimeframeService {
|
||||
if (candleType == null || candleType.isBlank()) return "1m";
|
||||
String c = candleType.trim().toLowerCase();
|
||||
if ("1d".equals(c)) return "1d";
|
||||
if ("1w".equals(c)) return "1w";
|
||||
if ("1h".equals(c)) return "1h";
|
||||
if ("4h".equals(c)) return "4h";
|
||||
if (ALLOWED.contains(c)) return c;
|
||||
@@ -69,7 +70,8 @@ public class LiveStrategyTimeframeService {
|
||||
case "1m", "3m", "5m", "10m", "15m", "30m" -> chartTf;
|
||||
case "1h", "4h" -> chartTf;
|
||||
case "1D" -> "1d";
|
||||
case "1W", "1M" -> "1d";
|
||||
case "1W" -> "1w";
|
||||
case "1M" -> "1d";
|
||||
default -> null;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user