From 66d171ee7c81462edb84dcbc3d75033f1e4269fa Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 25 Aug 2020 19:00:26 +0800
Subject: [PATCH] modify open entrust order
---
src/test/java/com/xcong/excoin/FollowTest.java | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/test/java/com/xcong/excoin/FollowTest.java b/src/test/java/com/xcong/excoin/FollowTest.java
index 9dde5f5..7cf737a 100644
--- a/src/test/java/com/xcong/excoin/FollowTest.java
+++ b/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();
+ }
}
--
Gitblit v1.9.1