提高exit门槛
This commit is contained in:
parent
b5e5c52390
commit
c054bf7ebf
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user