From e74e2226d55507ba466c020c8a61a372395a4639 Mon Sep 17 00:00:00 2001 From: boris Date: Tue, 7 Jul 2026 23:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3AiQuant=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E9=80=89=E8=82=A1=E5=89=94=E9=99=A4=E5=8C=97=E4=BA=A4=E6=89=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/fidc-core/src/platform_strategy_spec.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crates/fidc-core/src/platform_strategy_spec.rs b/crates/fidc-core/src/platform_strategy_spec.rs index 2a0fb89..20def52 100644 --- a/crates/fidc-core/src/platform_strategy_spec.rs +++ b/crates/fidc-core/src/platform_strategy_spec.rs @@ -1756,6 +1756,9 @@ pub fn platform_expr_config_from_spec( if aiquant_profile { cfg.aiquant_transaction_cost = true; cfg.strict_value_budget = true; + if !cfg.universe_exclude.iter().any(|item| item == "bjse") { + cfg.universe_exclude.push("bjse".to_string()); + } let trading = spec .runtime_expressions .as_ref() @@ -2308,7 +2311,10 @@ mod tests { assert_eq!(cfg.signal_symbol, "000852.SH"); assert_eq!(cfg.selection_limit_expr, "stocknum"); assert_eq!(cfg.refresh_rate_expr, "year >= 2024 ? 5 : 20"); - assert_eq!(cfg.universe_exclude, ["paused", "st", "kcb", "one_yuan"]); + assert_eq!( + cfg.universe_exclude, + ["paused", "st", "kcb", "one_yuan", "bjse"] + ); assert!(!cfg.rotation_enabled); assert!(cfg.daily_top_up_enabled); assert!(cfg.retry_empty_rebalance);