Wrap line correctly
This commit is contained in:
parent
1e7431a7b8
commit
3221f883d3
@ -545,8 +545,9 @@ class Exchange(object):
|
||||
# Calculating ticker interval in second
|
||||
interval_in_sec = constants.TICKER_INTERVAL_MINUTES[ticker_interval] * 60
|
||||
|
||||
if not (self._pairs_last_refresh_time.get((pair, ticker_interval), 0) + interval_in_sec >=
|
||||
arrow.utcnow().timestamp and (pair, ticker_interval) in self._klines):
|
||||
if not ((self._pairs_last_refresh_time.get((pair, ticker_interval), 0)
|
||||
+ interval_in_sec) >= arrow.utcnow().timestamp
|
||||
and (pair, ticker_interval) in self._klines):
|
||||
input_coroutines.append(self._async_get_candle_history(pair, ticker_interval))
|
||||
else:
|
||||
logger.debug("Using cached ohlcv data for %s, %s ...", pair, ticker_interval)
|
||||
|
Loading…
Reference in New Issue
Block a user