出场置信度+入场置信度+log+5
This commit is contained in:
parent
171ce86fea
commit
a98ba5cddb
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user