fix: order_by_id always true

This commit is contained in:
David Arena
2025-06-01 12:03:44 +02:00
committed by GitHub
parent ce46cd7343
commit d600461a84

View File

@@ -268,8 +268,8 @@ class FtRestClient:
params["limit"] = limit
if offset:
params["offset"] = offset
if order_by_id:
params["order_by_id"] = True
if not order_by_id:
params["order_by_id"] = False
return self._get("trades", params)
def list_open_trades_custom_data(self, key=None, limit=100, offset=0):