Function ib_client::apis::portfolio_api::portfolio_account_id_position_conid_get[][src]

pub async fn portfolio_account_id_position_conid_get(
    configuration: &Configuration,
    account_id: &str,
    conid: i32
) -> Result<Vec<Value>, Error<PortfolioAccountIdPositionConidGetError>>

Returns a list of all positions matching the conid. For portfolio models the conid could be in more than one model, returning an array with the name of the model it belongs to. /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint.