Merge pull request #655 from xmatthias/dev_reduce_verbosity

Reduce verbosity of get_ticker_history
This commit is contained in:
Samuel Husso 2018-05-12 22:20:08 +03:00 committed by GitHub
commit 40dfe4b3a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,9 +297,10 @@ def get_ticker_history(pair: str, tick_interval: str, since_ms: Optional[int] =
if not data_part: if not data_part:
break break
logger.info('Downloaded data for time range [%s, %s]', logger.debug('Downloaded data for %s time range [%s, %s]',
arrow.get(data_part[0][0] / 1000).format(), pair,
arrow.get(data_part[-1][0] / 1000).format()) arrow.get(data_part[0][0] / 1000).format(),
arrow.get(data_part[-1][0] / 1000).format())
data.extend(data_part) data.extend(data_part)
since_ms = data[-1][0] + 1 since_ms = data[-1][0] + 1