From 48f1bb26d2f7b23a9b87309db7fa1e34c5990723 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 04 Aug 2026 10:48:59 +0800
Subject: [PATCH] 3.设定初始仓位为任务的最大仓位,仓位按百分比进行分配,当获利时依次按比例在条件(对手盘的止损订单)满足挂出盈利

---
 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 4828f0a..f6e7000 100644
--- a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
+++ b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
@@ -105,6 +105,7 @@
                 .stopLossCount(dto.getStopLossCount())
                 .takeProfitGridSpan(dto.getTakeProfitGridSpan())
                 .priceDriveEnabled(nvl(dto.getPriceDriveEnabled(), true))
+                .rounds(dto.getRounds())
                 .build();
     }
 

--
Gitblit v1.9.1