mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Fix: Hyperopt breaks when self.dynamic_pairlist is set to True
This commit is contained in:
@@ -1587,7 +1587,7 @@ class Backtesting:
|
||||
# Loop for each main candle.
|
||||
self.check_abort()
|
||||
|
||||
if self.dynamic_pairlist:
|
||||
if self.dynamic_pairlist and self.pairlists:
|
||||
self.pairlists.refresh_pairlist()
|
||||
pairs = self.pairlists.whitelist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user