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