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/newPrice/OkxNewPriceWebSocketClient.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/newPrice/OkxNewPriceWebSocketClient.java b/src/main/java/com/xcong/excoin/modules/newPrice/OkxNewPriceWebSocketClient.java
index fd2cd46..27b97d9 100644
--- a/src/main/java/com/xcong/excoin/modules/newPrice/OkxNewPriceWebSocketClient.java
+++ b/src/main/java/com/xcong/excoin/modules/newPrice/OkxNewPriceWebSocketClient.java
@@ -301,7 +301,7 @@
      */
     private void reconnectWithBackoff() throws InterruptedException {
         int attempt = 0;
-        int maxAttempts = 5;
+        int maxAttempts = 3;
         long delayMs = 5000;
 
         while (attempt < maxAttempts) {

--
Gitblit v1.9.1