From 4e8978a190763fc207b351adace8564ff46563d0 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 12 Oct 2026 14:47:50 +0800
Subject: [PATCH] station 修改了连接信息
---
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigDTO.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigDTO.java b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigDTO.java
index be24ef7..5cd93fd 100644
--- a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigDTO.java
+++ b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigDTO.java
@@ -81,8 +81,8 @@
private Boolean tpTriggerOppositeAddEnabled;
/** 对向加仓挂单数量:止盈成交后在对向挂出的开仓张数,0=不启用 */
private Integer tpTriggerOppositeAddQuantity;
- /** 单格止盈张数:基础仓位止盈挂单时每个网格挂的止盈张数,0=不启用 */
- private Integer baseTakeProfitPerGrid;
+ /** 单格止盈张数:基础仓位止盈挂单时每个网格挂的止盈张数,支持小数,0=不启用 */
+ private BigDecimal baseTakeProfitPerGrid;
/** 止盈网格数量:基础仓位止盈挂单的网格数量,0=不启用 */
private Integer baseTakeProfitGridCount;
@@ -198,7 +198,7 @@
.shortStopLossPrice(null)
.tpTriggerOppositeAddEnabled(false)
.tpTriggerOppositeAddQuantity(0)
- .baseTakeProfitPerGrid(0)
+ .baseTakeProfitPerGrid(BigDecimal.ZERO)
.baseTakeProfitGridCount(0)
.build();
}
--
Gitblit v1.9.1