修正next open执行日回归用例
This commit is contained in:
@@ -4887,7 +4887,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[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 first = d(2025, 1, 2);
|
||||||
let second = d(2025, 1, 3);
|
let second = d(2025, 1, 3);
|
||||||
let third = d(2025, 1, 6);
|
let third = d(2025, 1, 6);
|
||||||
@@ -4899,7 +4899,7 @@ mod tests {
|
|||||||
market(third, 14.0, 15.0),
|
market(third, 14.0, 15.0),
|
||||||
],
|
],
|
||||||
vec![factor(first), factor(second)],
|
vec![factor(first), factor(second)],
|
||||||
vec![candidate(first), candidate(second)],
|
vec![candidate(first), candidate(second), candidate(third)],
|
||||||
vec![benchmark(first), benchmark(second), benchmark(third)],
|
vec![benchmark(first), benchmark(second), benchmark(third)],
|
||||||
)
|
)
|
||||||
.expect("dataset");
|
.expect("dataset");
|
||||||
|
|||||||
Reference in New Issue
Block a user