From affbfd98da376b59ff7825f75a5ca663becebc09 Mon Sep 17 00:00:00 2001 From: guopengfa Date: Fri, 16 Jan 2026 21:50:44 +0800 Subject: [PATCH] =?UTF-8?q?add=20log=20show=20strategy=20history=20kline?= =?UTF-8?q?=20number=20(=E5=A2=9E=E5=8A=A0log=E5=B1=95=E7=A4=BA=E7=AD=96?= =?UTF-8?q?=E7=95=A5=E4=B8=AD=E8=8E=B7=E5=8F=96=E7=9A=84=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=9C=89=E5=A4=9A=E5=B0=91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend_api_python/app/services/trading_executor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend_api_python/app/services/trading_executor.py b/backend_api_python/app/services/trading_executor.py index 8728933..af6b0ea 100644 --- a/backend_api_python/app/services/trading_executor.py +++ b/backend_api_python/app/services/trading_executor.py @@ -596,6 +596,7 @@ class TradingExecutor: if not klines or len(klines) < 2: logger.error(f"Strategy {strategy_id} failed to fetch K-lines") return + logger.info(rf'Strategy {strategy_id} kline number: {len(klines)}') # 转换为DataFrame df = self._klines_to_dataframe(klines)