Design an Intraday Market Risk Aggregation Platform for Trading Desks

Last updated: November 29, 2026

Quick Overview

Design a platform that computes and aggregates sensitivities and VaR across all trading desks intraday, so risk managers can see exposure by desk, legal entity, currency and risk factor within minutes of trades being booked.

Deutsche Bank
System Design
Software Engineer
Deutsche Bank
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design a platform that computes and aggregates sensitivities and VaR across all trading desks intraday, so risk managers can see exposure by desk, legal entity, currency and risk factor within minutes of trades being booked.

Deutsche Bank's Investment Bank runs thousands of books across rates, FX and credit, and regulation (FRTB, BCBS 239) demands consistent, traceable risk aggregation. Senior engineers and tech leads in risk technology are asked to design such systems to test their grasp of batch versus streaming compute, grid scaling and data lineage.

What the Interviewer Expects
  • Clarify scale: trades, risk factors, scenarios, refresh frequency
  • Separate trade capture, market data, pricing compute and aggregation
  • Explain why sensitivities aggregate linearly but VaR does not
  • Use scenario P&L vectors to allow arbitrary hierarchy aggregation
  • Cover incremental recompute on trade events
  • Address lineage, reproducibility and reconciliation with end-of-day
Key Topics to Cover
Distributed compute grid
Event-driven recompute
Aggregation hierarchies
Non-additive metrics
Data lineage
Market risk
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you give a what-if answer for a proposed new trade in seconds?
  • How do you keep intraday and end-of-day numbers consistent?
  • How would you move the pricing grid to Google Cloud while keeping on-premise data sources?
  • What do you do when a pricing model fails for some trades?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Scale assumptions: 2 million live trades, 10,000 books, 50,000 risk factors, historical VaR with 500 scenarios. Outputs: sensitivities (delta, vega) by risk factor and VaR at any hierarchy node (desk,...

High-Level Design
  • Trade capture feed: trade events from booking systems via Kafka, normalised into a trade store with versions.
  • Market data service: snapshots of curves and surfaces with ids; intraday snaps...

Submit Your Answer
Markdown supported

Related Questions