From 950a00141e37f403062f667ca46a79b9ce5a949d Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Fri, 28 Feb 2025 09:28:07 -0300 Subject: [PATCH] fix: renamed fetch_subaccount_orders_list to fetch_derivative_subaccount_orders_list --- .../derivative_exchange_rpc/13_SubaccountOrdersList.py | 2 +- pyinjective/async_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py b/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py index d219a0a2..91efc4d4 100644 --- a/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py +++ b/examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py @@ -14,7 +14,7 @@ async def main() -> None: skip = 1 limit = 2 pagination = PaginationOption(skip=skip, limit=limit) - orders = await client.fetch_subaccount_orders_list( + orders = await client.fetch_derivative_subaccount_orders_list( subaccount_id=subaccount_id, market_id=market_id, pagination=pagination ) print(orders) diff --git a/pyinjective/async_client.py b/pyinjective/async_client.py index 3c19c774..5327c6f3 100644 --- a/pyinjective/async_client.py +++ b/pyinjective/async_client.py @@ -1978,7 +1978,7 @@ async def fetch_derivative_liquidable_positions( pagination=pagination, ) - async def fetch_subaccount_orders_list( + async def fetch_derivative_subaccount_orders_list( self, subaccount_id: str, market_id: Optional[str] = None,