新版仿ok交易所-后端
1
zj
5 days ago 6e09aa2c20ff596c2dfae165d94a9af8ce281030
trading-order-huobi/src/main/java/com.yami.trading.huobi/data/klinejob/Kline5DayJob.java
@@ -28,7 +28,7 @@
    @Autowired
    private CryptosKlineService cryptosKlineService;
    @Scheduled(cron = "0 0 0 */5 * ?")
    @Scheduled(cron = "0 1 0 */5 * ?")
    public void taskJob() {
        StopWatch stopWatch = new StopWatch();
        log.info("Kline5DayJob start ... ");
@@ -37,7 +37,7 @@
        for (int i = 0; i < item_list.size(); i++) {
            Item item = item_list.get(i);
            if (MarketOpenChecker.isMarketOpenByItemCloseType(item.getOpenCloseType()) && item.getType().equals("cryptos")) {
                if (!Item.cryptos.equalsIgnoreCase(item.getType())) {
                if (!Item.cryptos.equalsIgnoreCase(item.getType()) || item.isFake()) {
                    klineService.saveKline5Day(item.getSymbol(), Kline.PERIOD_5DAY);
                }
            }