krakenfutures: convert _filter_params_for_open_closed to instance method

This commit is contained in:
matstedt
2026-01-14 19:25:36 +01:00
committed by Matthias
parent 60f71bbc2b
commit 507ea87e9f
+1 -2
View File
@@ -246,8 +246,7 @@ class Krakenfutures(Exchange):
except (NotSupported, AttributeError, OrderNotFound):
return None
@staticmethod
def _filter_params_for_open_closed(params: dict[str, Any]) -> dict[str, Any]:
def _filter_params_for_open_closed(self, params: dict[str, Any]) -> dict[str, Any]:
if not params:
return {}
blacklist = {"since", "before", "from", "to"}