InterviewDB
Question
Price Change: Detect Significant Price Changes and Compute Running Price Statistics
phone
Question Details
Problem You receive a stream of (symbol, price, timestamp) ticks. Implement a PriceChangeDetector that: (1) tracks the running VWAP (volume-weighted average price) per symbol, (2) fires an alert if a new price deviates more than X% from the VWAP, and…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone