分段长度去掉freqai优化
This commit is contained in:
parent
0332a1f9f3
commit
e78283eda6
@ -228,10 +228,6 @@ class FreqaiPrimer(IStrategy):
|
||||
|
||||
dataframe["&-price_value_divergence"] = dataframe["&-price_value_divergence"].replace([np.inf, -np.inf], 0).ffill().fillna(0)
|
||||
|
||||
# 添加趋势分段长度作为FreqAI训练目标
|
||||
# 基于未来价格表现计算最优段长
|
||||
dataframe = self.calculate_optimal_segment_length(dataframe, metadata)
|
||||
|
||||
return dataframe
|
||||
def is_stochrsi_overbought(self, dataframe: DataFrame, period=10, threshold=85) -> bool:
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user