From be5afb147522eedc0cecd353e3d1a7bc39cdffa0 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 04 Sep 2026 10:40:59 +0800
Subject: [PATCH] refactor(gateApi): 优化网格交易服务中的数量计算逻辑

---
 src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java |    1 +
 1 files changed, 1 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 3bb0889..0ceb025 100644
--- a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
+++ b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
@@ -111,6 +111,7 @@
                 .addPositionQuantity(dto.getAddPositionQuantity() > 0 ? dto.getAddPositionQuantity() : 1)
                 .maxPositionPerSide(dto.getMaxPositionPerSide())
                 .addPositionStartThreshold(dto.getAddPositionStartThreshold() >= 0 ? dto.getAddPositionStartThreshold() : 1)
+                .placeExcessTakeProfit(dto.isPlaceExcessTakeProfit())
                 .build();
     }
 

--
Gitblit v1.9.1