mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
@@ -1790,9 +1790,9 @@ class Exchange:
|
||||
if (limit := self._ft_has.get("fetch_orders_limit_minutes")) is not None:
|
||||
orders = []
|
||||
while since < dt_now():
|
||||
until = since + timedelta(minutes=limit - 1)
|
||||
orders += self._fetch_orders(pair, since, params={"until": dt_ts(until)})
|
||||
since = until
|
||||
orders += self._fetch_orders(pair, since)
|
||||
# Since with 1 minute overlap
|
||||
since = since + timedelta(minutes=limit - 1)
|
||||
return orders
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user