Function ib_client::apis::portfolio_api::portfolio_account_id_positions_page_id_get [−][src]
pub async fn portfolio_account_id_positions_page_id_get(
configuration: &Configuration,
account_id: &str,
page_id: &str,
model: Option<&str>,
sort: Option<&str>,
direction: Option<&str>,
period: Option<&str>
) -> Result<Vec<Value>, Error<PortfolioAccountIdPositionsPageIdGetError>>
Returns a list of positions for the given account. The endpoint supports paging, page's default size is 30 positions. /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint.