From 53196fafc8500c7fa2dafd9b3a58b5cd79972c50 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 10 Dec 2025 17:20:21 +0800
Subject: [PATCH] fix(okxWs): 修正账户和持仓WebSocket参数配置

---
 src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/PositionsWs.java |    5 +----
 src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/AccountWs.java   |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/AccountWs.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/AccountWs.java
index 5169c11..f3de1bb 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/AccountWs.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/AccountWs.java
@@ -52,10 +52,7 @@
             JSONArray argsArray = new JSONArray();
             JSONObject args = new JSONObject();
             args.put("channel", ACCOUNTWS_CHANNEL);
-//            args.put(CCY_KEY, CoinEnums.USDT.getCode());
-            JSONObject updateInterval = new JSONObject();
-            updateInterval.put("updateInterval",CoinEnums.UPDATEINTERVAL.getCode());
-            args.put("extraParams", updateInterval);
+            args.put(CCY_KEY, CoinEnums.USDT.getCode());
             argsArray.add(args);
 
             String connId = MallUtils.getOrderNum(ACCOUNTWS_CHANNEL);
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