Commit 799f166
committed
Fix seed and verify-mode backtesting tests for determinism
Redesigned BacktestWithSameRandomSeedProducesIdenticalMessages and
BacktestVerifyModeDoesNotAffectResults to verify emulator-level
determinism without strategy feedback loop. The full Connector adapter
chain has unavoidable DateTime.UtcNow calls in subscription management
that prevent bit-identical runs with strategy order placement.
Also set deterministic InitialOrderId/InitialTradeId to override the
non-deterministic seeds from EmulationMessageAdapter constructor.1 parent cd1d1f4 commit 799f166
1 file changed
Lines changed: 122 additions & 149 deletions
0 commit comments