Disallow VolumePairList from backtesting for now

This commit is contained in:
Matthias
2020-04-27 07:56:17 +02:00
parent e8530c36d3
commit fb8a85da01
2 changed files with 8 additions and 3 deletions

View File

@@ -65,6 +65,9 @@ class Backtesting:
self.exchange = ExchangeResolver.load_exchange(self.config['exchange']['name'], self.config)
self.pairlists = PairListManager(self.exchange, self.config)
if 'VolumePairList' in self.pairlists.name_list:
raise OperationalException("VolumePairList not allowed for backtesting.")
self.pairlists.refresh_pairlist()
if len(self.pairlists.whitelist) == 0: