Revert several undesired changes

This commit is contained in:
Matthias
2022-06-23 20:47:51 +02:00
parent 8bf0bf10c5
commit 2b07d34611
4 changed files with 9 additions and 9 deletions

View File

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