[SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.

This commit is contained in:
Rokas Kupstys
2021-09-10 09:36:52 +03:00
parent f81df19b93
commit 5dc78a0c66
6 changed files with 27 additions and 53 deletions

View File

@@ -159,7 +159,6 @@ class Backtesting:
# since a "perfect" stoploss-sell is assumed anyway
# And the regular "stoploss" function would not apply to that case
self.strategy.order_types['stoploss_on_exchange'] = False
strategy._initialize()
def _load_protections(self, strategy: IStrategy):
if self.config.get('enable_protections', False):

View File

@@ -35,7 +35,6 @@ class EdgeCli:
self.exchange = ExchangeResolver.load_exchange(self.config['exchange']['name'], self.config)
self.strategy = StrategyResolver.load_strategy(self.config)
self.strategy.dp = DataProvider(config, None)
self.strategy._initialize()
validate_config_consistency(self.config)