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

pub async fn iserver_account_post(
    configuration: &Configuration,
    body: SetAccount
) -> Result<InlineResponse2007, Error<IserverAccountPostError>>

If an user has multiple accounts, and user wants to get orders, trades, etc. of an account other than currently selected account, then user can update the currently selected account using this API and then can fetch required information for the newly updated account.