Only load strategy once during backtesting

This commit is contained in:
Matthias 2018-09-27 19:23:55 +02:00
parent 5dac3b5664
commit 6e66763e5f

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])