Get Parent Asset Positions
Query for asset positions (size, buy/sell etc) for a parent subaccount.
Method Declaration
Python
async def get_parent_subaccount_asset_positions(
self,
address: str,
subaccount_number: int,
status: Optional[PositionStatus] = None,
limit: Optional[int] = None,
created_before_or_at_height: Optional[int] = None,
created_before_or_at: Optional[str] = None,
) -> Any:Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
address | query | Address | true | The wallet address that owns the account. |
parentSubaccountNumber | query | SubaccountNumber | true | The parent subaccount number of this wallet |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | AssetPositionResponseObject ⛁ | The asset positions data. |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The parent subaccount was not found. |