From 79a0a03361969af91309aa5a19c8ccd6c6218590 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 27 Jul 2026 14:19:25 +0800
Subject: [PATCH] refactor(gateApi): 优化网格交易服务的止盈止损逻辑

---
 src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
index 3a8d315..f6e7000 100644
--- a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
+++ b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
@@ -104,6 +104,8 @@
                 .maxPositionSize(dto.getMaxPositionSize())
                 .stopLossCount(dto.getStopLossCount())
                 .takeProfitGridSpan(dto.getTakeProfitGridSpan())
+                .priceDriveEnabled(nvl(dto.getPriceDriveEnabled(), true))
+                .rounds(dto.getRounds())
                 .build();
     }
 

--
Gitblit v1.9.1