Function ib_client::apis::account_api::portfolio_subaccounts_get[][src]

pub async fn portfolio_subaccounts_get(
    configuration: &Configuration
) -> Result<Account, Error<PortfolioSubaccountsGetError>>

Used in tiered account structures (such as financial advisor and ibroker accounts) to return a list of sub-accounts for which the user can view position and account-related information. This endpoint must be called prior to calling other /portfolio endpoints for those subaccounts. To query a list of accounts the user can trade, see /iserver/accounts.