提高exit门槛

This commit is contained in:
zhangkun9038@dingtalk.com 2025-07-02 18:26:02 +00:00
parent b5e5c52390
commit c054bf7ebf

View File

@ -341,7 +341,7 @@ class FreqaiPrimer(IStrategy):
conditions = []
if "&-price_value_divergence" in dataframe.columns:
cond1 = (dataframe["&-price_value_divergence"] > self.sell_threshold)
cond1 = (dataframe["&-price_value_divergence"] > self.sell_threshold * 1.025)
cond2 = (dataframe["rsi"] > 75)
sell_condition = cond1 | cond2
conditions.append(sell_condition)