fix indentation

This commit is contained in:
Brook Miles 2021-05-15 20:20:36 +09:00
parent 88da1f109b
commit db17b1a851
1 changed files with 4 additions and 4 deletions

View File

@ -267,11 +267,11 @@ def _download_trades_history(exchange: Exchange,
until = None
if (timerange and timerange.starttype == 'date'):
since = timerange.startts * 1000
if timerange.stoptype == 'date':
until = timerange.stopts * 1000
since = timerange.startts * 1000
if timerange.stoptype == 'date':
until = timerange.stopts * 1000
else:
since = int(arrow.utcnow().shift(days=-new_pairs_days).float_timestamp) * 1000
since = int(arrow.utcnow().shift(days=-new_pairs_days).float_timestamp) * 1000
trades = data_handler.trades_load(pair)