Deterministic Event Replay - Quant Developer Interview Question
Difficulty: Hard
Category: architecture & logic
Asked at: Citadel, Optiver, Akuna, IMC, HRT
Topics: c++, design-pattern, algorithms, finance
Problem Description
Deterministic replay engines are fundamental to high-frequency trading, enabling the exact reproduction of internal states and strategy outputs from historical logs. This capability is essential for debugging production incidents and backtesting strategies against out-of-order market data.
Task
Implement a replay engine for a momentum-based trading strategy that processes a batch of raw, potentially out-of-order events. The engine must sort the events, maintain a decaying momentum state, and ge
Practice this hard developer interview question on MyntBit - the LeetCode for quants with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.