Helius
2020-08-03 63399d5c5bc8d1d2b026513ff8aedfef0302d9cc
src/main/java/com/xcong/excoin/utils/TypeJudgeUtils.java
@@ -25,4 +25,26 @@
                return false;
        }
    }
    /**
     * 判断k线区间
     *
     * @param period
     * @return
     */
    public static boolean klinePeriod(String period) {
        switch (period) {
            case "1min":
            case "5min":
            case "30min":
            case "60min":
            case "4hour":
            case "1day":
            case "1week":
                return true;
            default:
                return false;
        }
    }
}