Function ib_client::apis::order_api::iserver_account_account_id_order_whatif_post[][src]

pub async fn iserver_account_account_id_order_whatif_post(
    configuration: &Configuration,
    account_id: &str,
    body: OrderRequest
) -> Result<InlineResponse20014, Error<IserverAccountAccountIdOrderWhatifPostError>>

This endpoint allows you to preview order without actually submitting the order and you can get commission information in the response.