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

pub async fn iserver_account_account_id_order_order_id_delete(
    configuration: &Configuration,
    account_id: &str,
    order_id: &str
) -> Result<InlineResponse20016, Error<IserverAccountAccountIdOrderOrderIdDeleteError>>

Cancels an open order. Must call /iserver/accounts endpoint prior to cancelling an order. Use /iservers/account/orders endpoint to review open-order(s) and get latest order status.