Skip to content

Commit f8f5ce8

Browse files
authored
Merge pull request #373 from InjectiveLabs/fix/rename_derivative_subaccount_orders_message
fix/rename_derivative_subaccount_orders_message
2 parents f7ba353 + 950a001 commit f8f5ce8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/exchange_client/derivative_exchange_rpc/13_SubaccountOrdersList.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async def main() -> None:
1414
skip = 1
1515
limit = 2
1616
pagination = PaginationOption(skip=skip, limit=limit)
17-
orders = await client.fetch_subaccount_orders_list(
17+
orders = await client.fetch_derivative_subaccount_orders_list(
1818
subaccount_id=subaccount_id, market_id=market_id, pagination=pagination
1919
)
2020
print(orders)

pyinjective/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ async def fetch_derivative_liquidable_positions(
19781978
pagination=pagination,
19791979
)
19801980

1981-
async def fetch_subaccount_orders_list(
1981+
async def fetch_derivative_subaccount_orders_list(
19821982
self,
19831983
subaccount_id: str,
19841984
market_id: Optional[str] = None,

0 commit comments

Comments
 (0)