Design a Post-Trade TCA Service for Buy-Side Clients
Last updated: November 29, 2026
Quick Overview
Design a transaction cost analysis platform that ingests clients' orders and fills from many brokers, enriches them with market data, computes benchmarks such as arrival price, interval VWAP and implementation shortfall, and serves interactive reports and peer comparisons.
Virtu Financial
November 29, 20260
0
0 solved
Design a transaction cost analysis platform that ingests clients' orders and fills from many brokers, enriches them with market data, computes benchmarks such as arrival price, interval VWAP and implementation shortfall, and serves interactive reports and peer comparisons.
Virtu Analytics sells TCA to asset managers who trade through Triton and through many other brokers, so the platform must normalize messy client data and join it to large tick histories. The interviewer checks ingestion design, the tick-data join, benchmark correctness, and multi-tenant data isolation.
What the Interviewer Expects
- Clarify inputs (FIX drop copies, end-of-day files) and output (dashboards, scheduled reports, API)
- Normalize symbology, time zones, and order hierarchy (parent and child)
- Design the enrichment join against tick data efficiently
- Define benchmarks precisely, including side conventions
- Address tenant isolation and anonymized peer universes
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you support pre-trade cost estimates using the same data?
- How do you recompute history when a benchmark definition changes?
- How would you handle late or corrected fills from a broker?
- How would you keep peer comparisons anonymous yet meaningful?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Ingest: daily files and near-real-time FIX drop copies from hundreds of clients, tens of millions of fills per day. Enrich each order with arrival mid, interval VWAP, close, spread, volatility, and pa...
High-Level Design
Landing zone (object storage) receives raw files and FIX logs. A parsing layer maps each broker's format to a canonical schema: client, parent order, child order, fills, timestamps in UTC, side, instr...