Only load strategy once during backtesting
This commit is contained in:
parent
5dac3b5664
commit
6e66763e5f
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user