Remove pairlists from hyperopt too (it holds a reference to exchange)

This commit is contained in:
Matthias 2020-04-25 15:46:20 +02:00
parent 57345476ab
commit e8530c36d3

View File

@ -624,6 +624,7 @@ class Hyperopt:
# We don't need exchange instance anymore while running hyperopt # We don't need exchange instance anymore while running hyperopt
self.backtesting.exchange = None # type: ignore self.backtesting.exchange = None # type: ignore
self.backtesting.pairlists = None # type: ignore
self.trials = self.load_previous_results(self.trials_file) self.trials = self.load_previous_results(self.trials_file)