From 1922dcc8a5afb29f39417cf818edbedeab222471 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 22 Mar 2021 17:43:18 +0800
Subject: [PATCH] 20210322 平仓禁用操作(平仓,一键平仓,止盈止损,调整保证金,开仓)
---
src/test/java/com/xcong/excoin/RabbitMqTest.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/test/java/com/xcong/excoin/RabbitMqTest.java b/src/test/java/com/xcong/excoin/RabbitMqTest.java
index 82b668b..32f820e 100644
--- a/src/test/java/com/xcong/excoin/RabbitMqTest.java
+++ b/src/test/java/com/xcong/excoin/RabbitMqTest.java
@@ -1,5 +1,6 @@
package com.xcong.excoin;
+import com.xcong.excoin.rabbit.pricequeue.WebsocketPriceService;
import com.xcong.excoin.rabbit.producer.TestProducer;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
@@ -16,9 +17,17 @@
@Autowired
private TestProducer testProducer;
+ @Resource
+ private WebsocketPriceService websocketPriceService;
@Test
public void sendTestMsg() {
testProducer.sendTestMsg("this is test msg");
}
+
+ @Test
+ public void bombTest() {
+
+ websocketPriceService.comparePriceDesc("BTC/USDT", "9608");
+ }
}
--
Gitblit v1.9.1