src/main/java/com/xcong/excoin/modules/okxNewPrice/okxWs/TradeOrderWs.java
@@ -83,6 +83,15 @@ WsMapBuild.saveStringToMap(TRADEORDERWSMAP, "clOrdId", clOrdId); WsMapBuild.saveStringToMap(TRADEORDERWSMAP, "state", CoinEnums.ORDER_FILLED.getCode()); if (OrderParamEnums.SELL.getValue().equals(side)){ WsMapBuild.saveBigDecimalToMap(PositionsWs.POSITIONSWSMAP, "pos", BigDecimal.ZERO); } if (OrderParamEnums.BUY.getValue().equals(side)){ WsMapBuild.saveBigDecimalToMap(PositionsWs.POSITIONSWSMAP, "pos", new BigDecimal(buyCnt)); } } catch (Exception e) { log.error("下单构建失败", e); }