refresh_ticker should be called just once per iteration.

This commit is contained in:
misagh 2018-11-21 14:00:15 +01:00
parent de57da3249
commit 64129897f9

View File

@ -194,9 +194,6 @@ class FreqtradeBot(object):
self.edge.calculate() self.edge.calculate()
self.active_pair_whitelist = self.edge.adjust(self.active_pair_whitelist) self.active_pair_whitelist = self.edge.adjust(self.active_pair_whitelist)
# Refreshing candles
self.exchange.refresh_tickers(self.active_pair_whitelist, self.strategy.ticker_interval)
# Query trades from persistence layer # Query trades from persistence layer
trades = Trade.query.filter(Trade.is_open.is_(True)).all() trades = Trade.query.filter(Trade.is_open.is_(True)).all()