修正next open执行日回归用例

This commit is contained in:
boris
2026-07-05 09:33:15 +08:00
parent 1219b42046
commit 73627b1b2d
+2 -2
View File
@@ -4887,7 +4887,7 @@ mod tests {
}
#[test]
fn next_bar_open_executes_last_decision_on_market_only_execution_day() {
fn next_bar_open_executes_last_decision_without_execution_day_factor_snapshot() {
let first = d(2025, 1, 2);
let second = d(2025, 1, 3);
let third = d(2025, 1, 6);
@@ -4899,7 +4899,7 @@ mod tests {
market(third, 14.0, 15.0),
],
vec![factor(first), factor(second)],
vec![candidate(first), candidate(second)],
vec![candidate(first), candidate(second), candidate(third)],
vec![benchmark(first), benchmark(second), benchmark(third)],
)
.expect("dataset");