Fix subtle bug in trades download
This commit is contained in:
parent
e49b3ef051
commit
8b5d454b50
@ -323,7 +323,8 @@ def _download_trades_history(exchange: Exchange,
|
||||
try:
|
||||
|
||||
until = None
|
||||
if (timerange and timerange.starttype == 'date'):
|
||||
if timerange:
|
||||
if timerange.starttype == 'date':
|
||||
since = timerange.startts * 1000
|
||||
if timerange.stoptype == 'date':
|
||||
until = timerange.stopts * 1000
|
||||
|
Loading…
Reference in New Issue
Block a user