From 8f3d68cfbd98254f92d5c83be9ee52764936377f Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 22 Sep 2026 17:47:06 +0800
Subject: [PATCH] feat(station): 扩展止盈模式配置功能
---
src/main/java/com/xcong/excoin/modules/station/entity/StrategyStatus.java | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/station/entity/StrategyStatus.java b/src/main/java/com/xcong/excoin/modules/station/entity/StrategyStatus.java
index db1c277..8d0444f 100644
--- a/src/main/java/com/xcong/excoin/modules/station/entity/StrategyStatus.java
+++ b/src/main/java/com/xcong/excoin/modules/station/entity/StrategyStatus.java
@@ -67,12 +67,21 @@
/** 加仓启动阈值 */
private Integer addPositionStartThreshold;
- /** 超额止盈开关 */
- private Boolean placeExcessTakeProfit;
+ /** 止盈挂单模式:off=关闭 / concentrated=集中止盈 / dispersed=分散止盈 */
+ private String placeExcessTakeProfit;
/** 价格驱动开关 */
private Boolean priceDriveEnabled;
+ /** 双开止损触发开关:true=按多空止损触发价初始化双向止损单,false=沿用现有逻辑 */
+ private Boolean dualStopLossEnabled;
+
+ /** 多头止损触发价 */
+ private String longStopLossPrice;
+
+ /** 空头止损触发价 */
+ private String shortStopLossPrice;
+
/** 当前轮次 */
private Integer currentRound;
--
Gitblit v1.9.1