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); }