Administrator
2026-09-23 faeecfc63c04c155973fcdf91ac61e38c88c2e06
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
@@ -115,6 +115,8 @@
                .dualStopLossEnabled(nvl(dto.getDualStopLossEnabled(), false))
                .longStopLossPrice(dto.getLongStopLossPrice())
                .shortStopLossPrice(dto.getShortStopLossPrice())
                .tpTriggerOppositeAddEnabled(nvl(dto.getTpTriggerOppositeAddEnabled(), false))
                .tpTriggerOppositeAddQuantity(dto.getTpTriggerOppositeAddQuantity() != null && dto.getTpTriggerOppositeAddQuantity() > 0 ? dto.getTpTriggerOppositeAddQuantity() : 0)
                .build();
    }
@@ -153,6 +155,8 @@
            return GateConfig.EXCESS_TP_OFF;
        }
        switch (raw.trim()) {
            case "off":
                return GateConfig.EXCESS_TP_OFF;
            case "true":
            case "concentrated":
                return GateConfig.EXCESS_TP_CONCENTRATED;