From bede2aecbc1f3ce5d607081eec64d4cb2ab31b03 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 10 Dec 2025 16:29:44 +0800
Subject: [PATCH] feat(okxWs): 添加账户和持仓WebSocket更新间隔配置

---
 src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/AccountWs.java |    3 +++
 1 files changed, 3 insertions(+), 0 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 0392d0d..bec2d87 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
@@ -53,6 +53,9 @@
             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);
             argsArray.add(args);
 
             String connId = MallUtils.getOrderNum(ACCOUNTWS_CHANNEL);

--
Gitblit v1.9.1