Administrator
2026-06-08 1deaa332168ed37fc20d4960fa960a58db6ff452
src/main/java/com/xcong/excoin/modules/gateApi/GateGridTradeService.java
@@ -411,13 +411,15 @@
        checkProfitAndReset();
        if (longActive == false &&
        if (state == StrategyState.ACTIVE &&
                longActive == false &&
                        longPositionSize.compareTo(BigDecimal.ZERO) == 0){
            processShortGrid(closePrice);
        }
        if (shortActive == false &&
        if (state == StrategyState.ACTIVE &&
                shortActive == false &&
                        shortPositionSize.compareTo(BigDecimal.ZERO) == 0){
            processLongGrid(closePrice);
        }