下调入场价格+
This commit is contained in:
parent
01d3bc9a50
commit
b39c401340
@ -404,7 +404,7 @@ class FreqaiPrimer(IStrategy):
|
||||
|
||||
# 设置入场价格:下调2%(使用乘法避免除零风险)
|
||||
# Freqtrade 会优先使用 enter_price 列作为限价单价格
|
||||
dataframe.loc[final_condition, 'enter_price'] = dataframe.loc[final_condition, 'close'] * 0.98
|
||||
dataframe.loc[final_condition, 'enter_price'] = dataframe.loc[final_condition, 'close'] * 0.987
|
||||
|
||||
# 增强调试信息
|
||||
#logger.info(f"[{metadata['pair']}] 入场条件检查:")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user