refresh_ticker should be called just once per iteration.
This commit is contained in:
parent
de57da3249
commit
64129897f9
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user