{"record":{"id":"d0402eb72f51e9e3","repo":"nautechsystems/nautilus_trader","slug":"order-not-found-for-modify-in-ib-open-orders-clie","errorCode":null,"errorMessage":"Order not found for modify in IB open orders: client_order_id={}, venue_order_id={:?}","messagePattern":"Order not found for modify in IB open orders: client_order_id=(.+?), venue_order_id=(.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/adapters/interactive_brokers/src/execution/core_orders.rs","lineNumber":394,"sourceCode":"                        return Ok(());\n                    }\n\n                    tracing::debug!(\n                        \"Modified open order {} (IB order ID: {}) after cache miss\",\n                        cmd.client_order_id,\n                        ib_order_id\n                    );\n\n                    return Ok(());\n                }\n                Ok(_) => {}\n                Err(e) => {\n                    tracing::warn!(\"Error receiving open order data for modify: {e}\");\n                }\n            }\n        }\n\n        anyhow::bail!(\n            \"Order not found for modify in IB open orders: client_order_id={}, venue_order_id={:?}\",\n            cmd.client_order_id,\n            cmd.venue_order_id,\n        )\n    }\n\n    #[allow(clippy::too_many_arguments)]\n    pub(super) async fn handle_submit_order_list_async(\n        cmd: &SubmitOrderList,\n        orders: &[OrderAny],\n        client: &Arc<Client>,\n        order_id_map: &Arc<Mutex<AHashMap<ClientOrderId, i32>>>,\n        venue_order_id_map: &Arc<Mutex<AHashMap<i32, ClientOrderId>>>,\n        instrument_id_map: &Arc<Mutex<AHashMap<i32, InstrumentId>>>,\n        trader_id_map: &Arc<Mutex<AHashMap<i32, TraderId>>>,\n        strategy_id_map: &Arc<Mutex<AHashMap<i32, StrategyId>>>,\n        active_order_contexts: &Arc<Mutex<AHashMap<i32, TrackedOrderContext>>>,\n        terminal_order_contexts: &Arc<Mutex<FifoCacheMap<i32, TrackedOrderContext, 10_000>>>,","sourceCodeStart":376,"sourceCodeEnd":412,"githubUrl":"https://github.com/nautechsystems/nautilus_trader/blob/18893faf8b356be3320add8de2f861b0b647cf06/crates/adapters/interactive_brokers/src/execution/core_orders.rs#L376-L412","documentation":"Modify-path failure in handle_modify_open_order_async: the order was not found in the local cache and the subsequent open-orders request also failed to surface a matching order, so no modification target could be resolved.","triggerScenarios":"Thrown at crates/adapters/interactive_brokers/src/execution/core_orders.rs:394 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the client_order_id/venue_order_id are correct","Trigger an open-order reconciliation to refresh the cache and retry","Confirm the order has not already been filled or cancelled"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"18893faf8b356be3320add8de2f861b0b647cf06","analyzedAt":"2026-09-08T20:49:34.690Z","contentChangedAt":"2026-09-08T20:49:34.690Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}