assigning strategy to edge from FreqtradeBot

This commit is contained in:
misagh
2018-11-08 00:22:46 +01:00
parent 866da8aaa1
commit e5c6499706
3 changed files with 32 additions and 30 deletions

View File

@@ -58,7 +58,7 @@ class FreqtradeBot(object):
self.exchange = Exchange(self.config)
# Initializing Edge only if enabled
self.edge = Edge(self.config, self.exchange) if \
self.edge = Edge(self.config, self.exchange, self.strategy) if \
self.config.get('edge', {}).get('enabled', False) else None
self.active_pair_whitelist: List[str] = self.config['exchange']['pair_whitelist']