From 4143a4a7be962a580eae94e530293c9eb19b4de1 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 10 Dec 2025 17:16:03 +0800
Subject: [PATCH] feat(okxWs): 调整账户和持仓 WebSocket 配置

---
 src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java |    6 +++---
 1 files changed, 3 insertions(+), 3 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 dfe5ec7..3a53134 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,10 @@
             JSONObject args = new JSONObject();
             args.put("channel", POSITIONSWS_CHANNEL);
             args.put("instType", CoinEnums.INSTTYPE_SWAP.getCode());
-            args.put("instId", CoinEnums.HE_YUE.getCode());
+//            args.put("instId", CoinEnums.HE_YUE.getCode());
             JSONObject updateInterval = new JSONObject();
-            updateInterval.put("updateInterval","2000");
-            args.put("updateInterval", updateInterval);
+            updateInterval.put("updateInterval",CoinEnums.UPDATEINTERVAL.getCode());
+            args.put("extraParams", updateInterval);
             argsArray.add(args);
 
             String connId = MallUtils.getOrderNum(POSITIONSWS_CHANNEL);

--
Gitblit v1.9.1