From 638ec3db42690a93e47db372136dda669da1d499 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 11 Dec 2025 16:08:59 +0800
Subject: [PATCH] fix(okxNewPrice): 修复保证金和浮盈数据为空时的初始化问题
---
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java
index 3a53134..9379534 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java
@@ -31,10 +31,7 @@
JSONObject args = new JSONObject();
args.put("channel", POSITIONSWS_CHANNEL);
args.put("instType", CoinEnums.INSTTYPE_SWAP.getCode());
-// args.put("instId", CoinEnums.HE_YUE.getCode());
- JSONObject updateInterval = new JSONObject();
- updateInterval.put("updateInterval",CoinEnums.UPDATEINTERVAL.getCode());
- args.put("extraParams", updateInterval);
+ args.put("instId", CoinEnums.HE_YUE.getCode());
argsArray.add(args);
String connId = MallUtils.getOrderNum(POSITIONSWS_CHANNEL);
--
Gitblit v1.9.1