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