From 20dd57f77829952ec1ac7fb451590cd5fffd027f Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 24 Jun 2026 21:34:31 +0800
Subject: [PATCH] fix(grid): 修复网格元素索引并发访问问题
---
src/main/java/com/xcong/excoin/modules/okxApi/wsHandler/handler/PositionsOkxChannelHandler.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/okxApi/wsHandler/handler/PositionsOkxChannelHandler.java b/src/main/java/com/xcong/excoin/modules/okxApi/wsHandler/handler/PositionsOkxChannelHandler.java
index f4d08cc..a4b78c3 100644
--- a/src/main/java/com/xcong/excoin/modules/okxApi/wsHandler/handler/PositionsOkxChannelHandler.java
+++ b/src/main/java/com/xcong/excoin/modules/okxApi/wsHandler/handler/PositionsOkxChannelHandler.java
@@ -125,8 +125,8 @@
BigDecimal entryPrice = (avgPxStr != null && !avgPxStr.isEmpty())
? new BigDecimal(avgPxStr) : BigDecimal.ZERO;
- log.info("[OKX-WS] positions 持仓更新, instId:{}, posSide:{}, pos:{}, avgPx:{}",
- dataInstId, posSide, size, entryPrice);
+// log.info("[OKX-WS] positions 持仓更新, instId:{}, posSide:{}, pos:{}, avgPx:{}",
+// dataInstId, posSide, size, entryPrice);
if (getGridTradeService() != null) {
getGridTradeService().onPositionUpdate(contract, direction, size, entryPrice);
--
Gitblit v1.9.1