From 795ed86a6f3623f0a11e0e2f4edadc1b94008c4a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 25 Jun 2026 15:12:23 +0800
Subject: [PATCH] refactor(gateApi): 止盈都严格保持 2 个 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