Commit 98c6272
committed
Fix backtest clock monotonicity with time alerts
- Replace Vec-based accumulator with BinaryHeap for event ordering
- Add iterative processing that re-advances clocks after each callback
- Rename TimeEventHandlerV2 to TimeEventHandler
- Standardize FFI naming conventions
- Add tests for monotonicity edge cases
- Resolves #33841 parent 5915ee1 commit 98c6272
File tree
33 files changed
+1468
-334
lines changed- crates
- backtest
- src
- ffi
- common
- src
- ffi
- live
- python
- live
- benches
- src
- model/src
- docs/concepts
- nautilus_trader
- backtest
- core
- includes
- rust
- data
- tests
- acceptance_tests
- unit_tests/backtest
33 files changed
+1468
-334
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | | - | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
0 commit comments