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

pub async fn portfolio_accounts_get(
    configuration: &Configuration
) -> Result<Vec<Account>, Error<PortfolioAccountsGetError>>

In non-tiered account structures, returns a list of accounts for which the user can view position and account information. This endpoint must be called prior to calling other /portfolio endpoints for those accounts. For querying a list of accounts which the user can trade, see /iserver/accounts. For a list of subaccounts in tiered account structures (e.g. financial advisor or ibroker accounts) see /portfolio/subaccounts.