Remove pairlists from hyperopt too (it holds a reference to exchange)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user