Administrator
2026-09-22 2109e3eb4f3ac5b1aa75986741f3b342abe86e31
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigPersistenceService.java
@@ -112,6 +112,9 @@
                .maxPositionPerSide(dto.getMaxPositionPerSide())
                .addPositionStartThreshold(dto.getAddPositionStartThreshold() >= 0 ? dto.getAddPositionStartThreshold() : 1)
                .placeExcessTakeProfit(normalizeTakeProfitMode(dto.getPlaceExcessTakeProfit()))
                .dualStopLossEnabled(nvl(dto.getDualStopLossEnabled(), false))
                .longStopLossPrice(dto.getLongStopLossPrice())
                .shortStopLossPrice(dto.getShortStopLossPrice())
                .build();
    }
@@ -150,6 +153,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;