mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
ensure training_features_list is updated properly
This commit is contained in:
parent
85e345fc48
commit
d10ee0979a
|
@ -330,6 +330,8 @@ class BaseReinforcementLearningModel(IFreqaiModel):
|
|||
|
||||
if self.rl_config["drop_ohlc_from_features"]:
|
||||
df.drop(drop_list, axis=1, inplace=True)
|
||||
feature_list = dk.training_features_list
|
||||
dk.training_features_list = [e for e in feature_list if e not in drop_list]
|
||||
|
||||
return df
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user