From 981a87bd0b06a17064f7b0d2435e96045cc03987 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 25 Jun 2026 15:38:04 +0800
Subject: [PATCH] refactor(okxApi): 简化条件单状态变更回调方法参数
---
src/main/java/com/xcong/excoin/modules/okxApi/OkxGridTradeService.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/okxApi/OkxGridTradeService.java b/src/main/java/com/xcong/excoin/modules/okxApi/OkxGridTradeService.java
index c537429..8a8f974 100644
--- a/src/main/java/com/xcong/excoin/modules/okxApi/OkxGridTradeService.java
+++ b/src/main/java/com/xcong/excoin/modules/okxApi/OkxGridTradeService.java
@@ -415,12 +415,12 @@
/**
* 自动订单状态变更回调。由 OrdersOkxChannelHandler 调用。
*/
- public void onAutoOrder(String orderId, String status, String reason, String orderType, String tradeId) {
+ public void onAutoOrder(String orderId, String status, String orderType, String tradeId) {
if (state == StrategyState.STOPPED) {
return;
}
- log.info("[OKX] 条件单状态变更, id:{}, status:{}, reason:{}, order_type:{}",
- orderId, status, reason, orderType);
+ log.info("[OKX] 条件单状态变更, id:{}, status:{}, order_type:{}",
+ orderId, status, orderType);
if (!"finished".equals(status)) {
return;
}
--
Gitblit v1.9.1