Merge pull request #5964 from stash86/fix-docs

Add more words on VolumePairlist backtest error message
This commit is contained in:
Matthias
2021-11-26 07:48:24 +01:00
committed by GitHub
2 changed files with 6 additions and 3 deletions

View File

@@ -89,7 +89,8 @@ class Backtesting:
self.init_backtest_detail()
self.pairlists = PairListManager(self.exchange, self.config)
if 'VolumePairList' in self.pairlists.name_list:
raise OperationalException("VolumePairList not allowed for backtesting.")
raise OperationalException("VolumePairList not allowed for backtesting. "
"Please use StaticPairlist instead.")
if 'PerformanceFilter' in self.pairlists.name_list:
raise OperationalException("PerformanceFilter not allowed for backtesting.")