We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad6a6a commit ecdd84eCopy full SHA for ecdd84e
freqtrade/exchange/exchange.py
@@ -1790,9 +1790,9 @@ def fetch_orders(
1790
if (limit := self._ft_has.get("fetch_orders_limit_minutes")) is not None:
1791
orders = []
1792
while since < dt_now():
1793
- until = since + timedelta(minutes=limit - 1)
1794
- orders += self._fetch_orders(pair, since, params={"until": dt_ts(until)})
1795
- since = until
+ orders += self._fetch_orders(pair, since)
+ # Since with 1 minute overlap
+ since = since + timedelta(minutes=limit - 1)
1796
return orders
1797
1798
else:
0 commit comments