mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
fix: make until
non-optional
This commit is contained in:
parent
d226e7054c
commit
53702bfdfe
|
@ -2609,11 +2609,10 @@ class Exchange:
|
|||
logger.debug(f"_async_get_trade_history(), pair: {pair}, "
|
||||
f"since: {since}, until: {until}, from_id: {from_id}")
|
||||
|
||||
if self._trades_pagination == 'time':
|
||||
if until is None:
|
||||
until = ccxt.Exchange.milliseconds()
|
||||
if until is None:
|
||||
until = ccxt.Exchange.milliseconds()
|
||||
logger.debug(f"Exchange milliseconds: {until}")
|
||||
|
||||
if self._trades_pagination == 'time':
|
||||
return await self._async_get_trade_history_time(
|
||||
pair=pair, since=since, until=until)
|
||||
elif self._trades_pagination == 'id':
|
||||
|
|
Loading…
Reference in New Issue
Block a user