filter pairs according to expectancy + bug at the end of array resolved

This commit is contained in:
misagh
2018-09-28 16:40:34 +02:00
parent f15825e3a7
commit c8d06e2b0e
4 changed files with 16 additions and 8 deletions

View File

@@ -399,7 +399,7 @@ class FreqtradeBot(object):
# running get_signal on historical data fetched
# to find buy signals
if self.config['edge']['enabled']:
whitelist = self.edge.sort_pairs(whitelist)
whitelist = self.edge.filter(whitelist)
for _pair in whitelist:
(buy, sell) = self.strategy.get_signal(_pair, interval, self.exchange.klines.get(_pair))