Administrator
23 hours ago 79bd4e64c46dddd60d0abd6c9702622336c1d581
src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
@@ -599,7 +599,7 @@
        if (longTpElem != null && StrUtil.isNotEmpty(tradeId) && !tradeId.equals("0")) {
            longTakeProfitTraderIdParam(longTpElem, null, false);
            log.info("[Gate] 多仓止盈触发 gridId:{}, orderId:{}", longTpElem.getId(), orderId);
            cancelFarthestLongStopLoss();
//            cancelFarthestLongStopLoss();
//            checkLastTakeProfitAndRestart();
            return;
        }
@@ -608,7 +608,7 @@
        if (shortTpElem != null && StrUtil.isNotEmpty(tradeId) && !tradeId.equals("0")) {
            shortTakeProfitTraderIdParam(shortTpElem, null, false);
            log.info("[Gate] 空仓止盈触发 gridId:{}, orderId:{}", shortTpElem.getId(), orderId);
            cancelFarthestShortStopLoss();
//            cancelFarthestShortStopLoss();
//            checkLastTakeProfitAndRestart();
            return;
        }