Helius
2021-02-02 c4aabe264e8f2a6002116a20b3f0b27db99c0afd
src/main/java/com/xcong/excoin/rabbit/pricequeue/WebsocketPriceService.java
@@ -342,6 +342,7 @@
                synchronized (this) {
                    if (entry.getKey() != null) {
                        dataModelMap.remove(entry.getKey());
                        wholePriceData.setEquity(wholePriceData.getBalance().add(totalProfitOrLoss));
                        redisUtils.set(AppContants.WHOLE_BOMB_MAP, JSONObject.toJSONString(dataModelMap));
                        log.info("全仓爆仓触发:{}", JSONObject.toJSONString(wholePriceData));
                        wholePriceData.setPrices(prices);