From ad6e168303b0b968eefe3e151676b74339c7e10b Mon Sep 17 00:00:00 2001 From: boris Date: Sun, 5 Jul 2026 09:33:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3next=20open=E6=9C=AB=E6=97=A5?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/fidc-core/src/engine.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/fidc-core/src/engine.rs b/crates/fidc-core/src/engine.rs index 40d17dc..0a17167 100644 --- a/crates/fidc-core/src/engine.rs +++ b/crates/fidc-core/src/engine.rs @@ -4899,7 +4899,7 @@ mod tests { market(third, 14.0, 15.0), ], vec![factor(first), factor(second)], - vec![candidate(first), candidate(second), candidate(third)], + vec![candidate(first), candidate(second)], vec![benchmark(first), benchmark(second), benchmark(third)], ) .expect("dataset"); @@ -4915,9 +4915,8 @@ mod tests { let result = BacktestEngine::new( dataset, - ScheduledBuyStrategy { - rule: ScheduleRule::weekly_by_weekday("weekly_signal", 5, ScheduleStage::OnDay), - expected_decision_date: second, + BuyWhenDecisionDateStrategy { + decision_date: second, }, broker, config,