From f139af8e6313a1ca9cd1cc02477be32e78d206cb Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 06 Jan 2026 15:21:07 +0800
Subject: [PATCH] feat(okxNewPrice): 添加账户盈亏监控和自动止损功能
---
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java
index 50bbccb..6b3b1d6 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/wanggeList/WangGeListServiceImpl.java
@@ -34,6 +34,7 @@
//获取WangGeListEnum全部网格参数
WangGeListEnum gridByPrice = WangGeListEnum.getGridByPrice(new BigDecimal(markPx));
+ log.info("获取的网格参数: {}", gridByPrice);
if (gridByPrice == null){
log.error("没有获取到网格参数......");
return null;
@@ -72,7 +73,6 @@
return null;
}
- log.info("网格初始化成功");
return queueAsc;
} catch (NumberFormatException e) {
log.error("解析价格参数失败", e);
--
Gitblit v1.9.1