{"record":{"id":"d65903e4b77de43e","repo":"nautechsystems/nautilus_trader","slug":"binance-futures-open-order-request-has-unresolved","errorCode":null,"errorMessage":"Binance Futures open order request has unresolved instrument {instrument_id}","messagePattern":"Binance Futures open order request has unresolved instrument (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/adapters/binance/src/futures/execution.rs","lineNumber":1113,"sourceCode":"    async fn generate_open_order_status_reports(\n        &self,\n        instrument_id: Option<InstrumentId>,\n        ts_init: UnixNanos,\n    ) -> anyhow::Result<Vec<OpenOrderStatusReport>> {\n        if let Some(instrument_id) = instrument_id\n            && self\n                .http_client\n                .instrument_reconciliation(&instrument_id)\n                .is_none()\n        {\n            if self.is_instrument_out_of_scope(instrument_id) {\n                log::debug!(\n                    \"Dropping out-of-scope Binance Futures order request for instrument {instrument_id}\"\n                );\n                return Ok(Vec::new());\n            }\n\n            anyhow::bail!(\n                \"Binance Futures open order request has unresolved instrument {instrument_id}\"\n            );\n        }\n\n        let symbol = instrument_id.map(|id| format_binance_symbol(&id));\n        let mut builder = BinanceOpenOrdersParamsBuilder::default();\n\n        if let Some(symbol) = symbol {\n            builder.symbol(symbol);\n        }\n        let params = builder.build().map_err(|e| anyhow::anyhow!(\"{e}\"))?;\n\n        let (orders, algo_orders) = tokio::try_join!(\n            self.http_client.query_open_orders(&params),\n            self.http_client.query_open_algo_orders(instrument_id),\n        )?;\n        let mut reports = Vec::with_capacity(orders.len() + algo_orders.len());\n","sourceCodeStart":1095,"sourceCodeEnd":1131,"githubUrl":"https://github.com/nautechsystems/nautilus_trader/blob/18893faf8b356be3320add8de2f861b0b647cf06/crates/adapters/binance/src/futures/execution.rs#L1095-L1131","documentation":"While generating open-order status reports, an open order request references an instrument_id that could not be resolved in the instrument cache (and is not confirmed out-of-scope). Since a report cannot be built without symbol/symbol metadata, the adapter fails with this error instead of silently dropping.","triggerScenarios":"generate_order_status_reports finds an open order whose instrument is missing from the cache and is_instrument_out_of_scope returns false, so neither filtering nor report generation can proceed.","commonSituations":"Account holds orders for instruments never loaded into the cache (e.g. newly listed symbols, COIN-M vs USD-M mismatch with configured product scope); client restarted with a narrower instrument universe than the exchange account.","solutions":["Load/register the missing instrument into the cache before generating status reports.","Widen the client's instrument scope so the open order's symbol is in scope.","Reconcile the account's open orders: cancel stale exchange-side orders for instruments you don't track."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"for instrument_id in open_order_instrument_ids {\n    if cache.instrument(&instrument_id).is_none() {\n        log::warn!(\"missing instrument in cache: {instrument_id}\");\n    }\n}\n// load all missing instruments before generate_order_status_reports","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Populate the instrument cache for every symbol with open orders at startup.","Keep client instrument scope aligned with the exchange account universe.","Periodically reconcile cache vs account open orders."],"tags":["binance","futures","instrument-cache","order-reports","reconciliation"],"backgroundTag":"entity-not-found","analyzedSha":"18893faf8b356be3320add8de2f861b0b647cf06","analyzedAt":"2026-09-08T20:49:34.690Z","contentChangedAt":"2026-09-08T20:49:34.690Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}