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"]:
|
if self.rl_config["drop_ohlc_from_features"]:
|
||||||
df.drop(drop_list, axis=1, inplace=True)
|
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
|
return df
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user