Merge branch 'develop' into bt_add_maxdrawdown

This commit is contained in:
Matthias
2020-08-09 08:34:36 +02:00
63 changed files with 1535 additions and 310 deletions

View File

@@ -103,7 +103,7 @@ class Backtesting:
if len(self.pairlists.whitelist) == 0:
raise OperationalException("No pair in whitelist.")
if config.get('fee'):
if config.get('fee', None) is not None:
self.fee = config['fee']
else:
self.fee = self.exchange.get_fee(symbol=self.pairlists.whitelist[0])