From 9e36b0d2ea89a1bbbcf6aab411727a9ccedb4c32 Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Tue, 27 Sep 2022 22:02:33 -0600 Subject: [PATCH] fix formatting --- .../freqai/prediction_models/ReinforcementLearner_multiproc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()