From 353beba7cf8d1f68fda898394da8565b506ff7a9 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 07 Aug 2026 11:08:04 +0800
Subject: [PATCH] fix(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