Merge pull request #1241 from freqtrade/fix/loadstrategyonce

Only load strategy once during backtesting
This commit is contained in:
Matthias 2018-09-29 09:12:41 +02:00 committed by GitHub
commit 448f3a7197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,8 +75,6 @@ class Backtesting(object):
else:
# only one strategy
strat = StrategyResolver(self.config).strategy
self.strategylist.append(StrategyResolver(self.config).strategy)
# Load one strategy
self._set_strategy(self.strategylist[0])