Real-Time Stock Price Stream Processor
Build a streaming pipeline that ingests simulated real-time stock price ticks, computes rolling moving averages and volatility per symbol, and detects anomalous price spikes. Learners practice Akka Streams, backpressure handling, and windowed stream aggregation.
- Estimate
- ~14.5h
- Steps
- 6
- Completed by
- 0
- Proposed by
- codeseed.app
Akka Streams · Akka HTTP
Project roadmap
- 01
Simulate a tick-data source
~2hBuild a source that emits randomized stock price ticks for multiple symbols at a configurable rate.
- 02
Build the streaming graph
~2.5hCompose Akka Streams stages to route ticks per symbol with proper backpressure.
- 03
Implement rolling window aggregation
~3hCompute rolling moving averages and volatility using sliding windows per symbol.
- 04
Implement anomaly detection
~2.5hFlag ticks that deviate significantly from the rolling average as anomalies.
- 05
Expose live results via HTTP
~2.5hAdd an Akka HTTP endpoint that streams current aggregates as server-sent events.
- 06
Load test the pipeline
~2hMeasure throughput and latency under high tick volume and tune buffer sizes.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack