出场置信度+入场置信度+log

This commit is contained in:
zhangkun9038@dingtalk.com 2025-12-23 11:50:05 +08:00
parent 6d32cbc467
commit 1bdd819105

View File

@ -772,8 +772,8 @@ class FreqaiPrimer(IStrategy):
if exit_prob > exit_threshold:
logger.info(f"[{pair}] ML 审核官拒绝入场: exit_signal 概率 {exit_prob:.2f} > 阈值 {exit_threshold:.2f}(容易下跌,不宜入场)")
allow_trade = False
# else:
# logger.info(f"[{pair}] ML 审核官允许入场: exit_signal 概率 {exit_prob:.2f} <= {exit_threshold:.2f}")
else:
logger.info(f"[{pair}] ML 审核官允许入场: exit_signal 概率 {exit_prob:.2f} <= 阈值 {exit_threshold:.2f}")
except Exception as e:
logger.warning(f"[{pair}] ML 审核官检查失败,忽略 ML 过滤: {e}")