diff --git a/freqtrade/freqai/prediction_models/ReinforcementLearner_multiproc.py b/freqtrade/freqai/prediction_models/ReinforcementLearner_multiproc.py index efdd4883c..034c752e7 100644 --- a/freqtrade/freqai/prediction_models/ReinforcementLearner_multiproc.py +++ b/freqtrade/freqai/prediction_models/ReinforcementLearner_multiproc.py @@ -89,7 +89,6 @@ class ReinforcementLearner_multiproc(BaseReinforcementLearningModel): render=False, eval_freq=len(train_df), best_model_save_path=str(dk.data_path)) - def _on_stop(self): """ Hook called on bot shutdown. Close SubprocVecEnv subprocesses for clean shutdown. @@ -99,4 +98,4 @@ class ReinforcementLearner_multiproc(BaseReinforcementLearningModel): self.train_env.close() if hasattr(self, "eval_env") and self.eval_env: - self.eval_env.close() \ No newline at end of file + self.eval_env.close()