Always reset fake-databases

Otherwise results may stick around for the next strategy
This commit is contained in:
Matthias 2021-03-08 19:40:29 +01:00 committed by crypto_rahino
parent a86f60df91
commit 25355e35a6

View File

@ -174,8 +174,6 @@ class Backtesting:
PairLocks.use_db = False
PairLocks.timeframe = self.config['timeframe']
Trade.use_db = False
if enable_protections:
# Reset persisted data - used for protections only
PairLocks.reset_locks()
Trade.reset_trades()