From 7672771a8b548c3abb670cd3c818a3a9bc0ba7c7 Mon Sep 17 00:00:00 2001 From: liaozhaorun <1300336796@qq.com> Date: Mon, 15 Dec 2025 21:05:17 +0800 Subject: [PATCH] =?UTF-8?q?SpectralStrategy=E6=9B=B4=E6=96=B0:FG=E5=93=81?= =?UTF-8?q?=E7=A7=8D=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- futures_trading_strategies/FG/Spectral/SpectralTrendStrategy3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/futures_trading_strategies/FG/Spectral/SpectralTrendStrategy3.py b/futures_trading_strategies/FG/Spectral/SpectralTrendStrategy3.py index a55e651..5dbfdd6 100644 --- a/futures_trading_strategies/FG/Spectral/SpectralTrendStrategy3.py +++ b/futures_trading_strategies/FG/Spectral/SpectralTrendStrategy3.py @@ -205,6 +205,7 @@ class SpectralTrendStrategy(Strategy): """ # --- 1. 动态ATR止损检查 --- # 获取持仓均价 + self.log(f'trend_strength: {trend_strength:.2f}') avg_entry_price = self.get_average_position_price(self.symbol) # 确保 ATR 和 均价 有效