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