From f0bf946bb5783863bb81385f28b0edb55dad8fdf Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Tue, 23 Dec 2025 11:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=9C=BA=E7=BD=AE=E4=BF=A1=E5=BA=A6+?= =?UTF-8?q?=E5=85=A5=E5=9C=BA=E7=BD=AE=E4=BF=A1=E5=BA=A6+log+1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- freqtrade/templates/freqaiprimer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/templates/freqaiprimer.py b/freqtrade/templates/freqaiprimer.py index 54c08b5e..a2b10c6a 100644 --- a/freqtrade/templates/freqaiprimer.py +++ b/freqtrade/templates/freqaiprimer.py @@ -723,6 +723,7 @@ class FreqaiPrimer(IStrategy): 交易买入前的确认函数,用于最终决定是否执行交易 此处实现剧烈拉升检查和入场间隔控制逻辑 """ + logger.info(f"[{pair}] confirm_trade_entry 被调用 - 价格: {rate:.8f}, 时间: {current_time}") # 默认允许交易 allow_trade = True @@ -805,6 +806,7 @@ class FreqaiPrimer(IStrategy): 交易卖出前的确认函数,用于最终决定是否执行出场 此处使用 ML 审核官(exit_signal 置信度)过滤出场 """ + logger.info(f"[{pair}] confirm_trade_exit 被调用 - 价格: {rate:.8f}, 出场原因: {exit_reason}, 时间: {current_time}") # 默认允许出场 allow_exit = True