From e4cae0f215941da2059a8f37cd8d1a192f7a60cd Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 08 Jun 2026 11:17:42 +0800
Subject: [PATCH] ``` chore(gateApi): 注释掉持仓归零时的重置策略逻辑

---
 src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java b/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
index 1076394..2c445b3 100644
--- a/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
+++ b/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
@@ -461,8 +461,8 @@
                 }
             } else {
                 if (longActive && state == StrategyState.ACTIVE) {
-                    log.info("[Gate] 多仓持仓归零,重置策略");
-                    handlePositionZeroAndReset("多仓");
+//                    log.info("[Gate] 多仓持仓归零,重置策略");
+//                    handlePositionZeroAndReset("多仓");
                 }
                 longActive = false;
                 longPositionSize = BigDecimal.ZERO;
@@ -484,8 +484,8 @@
                 }
             } else {
                 if (shortActive && state == StrategyState.ACTIVE) {
-                    log.info("[Gate] 空仓持仓归零,重置策略");
-                    handlePositionZeroAndReset("空仓");
+//                    log.info("[Gate] 空仓持仓归零,重置策略");
+//                    handlePositionZeroAndReset("空仓");
                 }
                 shortActive = false;
                 shortPositionSize = BigDecimal.ZERO;

--
Gitblit v1.9.1