From 21875f9ad2dfafba7bdf38ef4b27e0aa7ad5a832 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 04 Aug 2026 10:48:58 +0800
Subject: [PATCH] 2.取消在对手盘止损格子上挂止盈订单
---
src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java b/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
index 951e9fc..5270f84 100644
--- a/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
+++ b/src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
@@ -673,7 +673,7 @@
int posSize = Math.max(queryPositionSize(Position.ModeEnum.DUAL_SHORT), shortPositionSize.intValue());
extendShortStopLoss(posSize, shortGridElement.getId());
// [Gate] 止盈挂单:超出基础仓位的部分,挂在多仓第一止损位
- placeExcessTakeProfit(posSize, false);
+// placeExcessTakeProfit(posSize, false);
log.info("[Gate] 空单成交 gridId:{}, 当前持仓:{}张", filledQty, posSize);
}
@@ -703,7 +703,7 @@
int posSize = Math.max(queryPositionSize(Position.ModeEnum.DUAL_LONG), longPositionSize.intValue());
extendLongStopLoss(posSize, longGridElement.getId());
// [Gate] 止盈挂单:超出基础仓位的部分,挂在空仓第一止损位
- placeExcessTakeProfit(posSize, true);
+// placeExcessTakeProfit(posSize, true);
log.info("[Gate] 多单成交 gridId:{}, 当前持仓:{}张", filledQty, posSize);
}
--
Gitblit v1.9.1