From eaa37652d5f03e4b36cb53d9d3e2e13312af3d78 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 24 Dec 2025 16:36:18 +0800
Subject: [PATCH] refactor(trading): 优化震荡市场判断条件以减少信号频率

---
 src/main/java/com/xcong/excoin/modules/okxNewPrice/indicator/MA.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/indicator/MA.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/indicator/MA.java
index e288c00..0da46e6 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/indicator/MA.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/indicator/MA.java
@@ -138,9 +138,9 @@
         prevEma60 = calculateEMA(prices, ma60Period, prevEma60);
         ema60 = prevEma60;
 
-        log.debug("MA计算结果 - MA5({}): {}, MA10({}): {}, MA20({}): {}, MA30({}): {}, MA60({}): {}", 
+        log.info("MA计算结果 - MA5({}): {}, MA10({}): {}, MA20({}): {}, MA30({}): {}, MA60({}): {}",
                 ma5Period, ma5, ma10Period, ma10, ma20Period, ma20, ma30Period, ma30, ma60Period, ma60);
-        log.debug("EMA计算结果 - EMA5({}): {}, EMA10({}): {}, EMA20({}): {}, EMA30({}): {}, EMA60({}): {}", 
+        log.info("EMA计算结果 - EMA5({}): {}, EMA10({}): {}, EMA20({}): {}, EMA30({}): {}, EMA60({}): {}",
                 ma5Period, ema5, ma10Period, ema10, ma20Period, ema20, ma30Period, ema30, ma60Period, ema60);
     }
 
@@ -166,7 +166,7 @@
         ma30Period = volatility.compareTo(highVolatility) < 0 ? 30 : 24;
         ma60Period = volatility.compareTo(highVolatility) < 0 ? 50 : 34;
 
-        log.debug("根据波动率{}调整MA周期: ma5={}, ma10={}, ma20={}, ma30={}, ma60={}", 
+        log.info("根据波动率{}调整MA周期: ma5={}, ma10={}, ma20={}, ma30={}, ma60={}",
                 volatility, ma5Period, ma10Period, ma20Period, ma30Period, ma60Period);
     }
 

--
Gitblit v1.9.1