Helius
2021-04-01 451f88585ce56b852ceba3a7f20c62bf6fa9f8fe
src/test/java/com/xcong/excoin/FollowTest.java
@@ -1,6 +1,7 @@
package com.xcong.excoin;
import com.xcong.excoin.modules.documentary.service.FollowOrderOperationService;
import com.xcong.excoin.quartz.job.FollowProfitUpdateJob;
import com.xcong.excoin.utils.ThreadPoolUtils;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
@@ -25,4 +26,20 @@
//        ThreadPoolUtils.sendFollowOrderTask(601L);
    }
    @Test
    public void strContainsTest() {
        String symbols = "BTC,ETH,LTC,BCH";
        String symbol = "BTC/USDT";
        System.out.println(symbols.contains(symbol.replace("/USDT", "")));
    }
    @Resource
    private FollowProfitUpdateJob followProfitUpdateJob;
    @Test
    public void updateJobTest() {
        followProfitUpdateJob.traderProfitUpdate();
    }
}