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

This commit is contained in:
zhangkun9038@dingtalk.com 2025-12-23 14:00:24 +08:00
parent 171ce86fea
commit a98ba5cddb

View File

@ -878,8 +878,10 @@ class FreqaiPrimer(IStrategy):
f"base={base_threshold:.2f}, trade_age_min={trade_age_minutes:.1f}, current_profit={current_profit:.4f}),出场原因: {exit_reason}"
)
except Exception as e:
logger.warning(f"[{pair}] ML 审核官出场检查失败,允许出场: {e}")
return allow_exit
logger.warning(f"[{pair}] ML 审核官出场检查失败,允许出场: {e}")
# 极端模式:彻底不拦截出场信号
logger.info(f"[{pair}] 极端模式允许出场ML 审核官已禁用),出场原因: {exit_reason}")
return True
def custom_stoploss(self, pair: str, trade: 'Trade', current_time, current_rate: float,
current_profit: float, **kwargs) -> float: