Skip to content

Commit

Permalink
Merge pull request freqtrade#1241 from freqtrade/fix/loadstrategyonce
Browse files Browse the repository at this point in the history
Only load strategy once during backtesting
  • Loading branch information
xmatthias authored Sep 29, 2018
2 parents 89b515b + 6e66763 commit 448f3a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions freqtrade/optimize/backtesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ def __init__(self, config: Dict[str, Any]) -> None:

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

0 comments on commit 448f3a7

Please sign in to comment.