The Challenge
A mid-sized investment management firm was generating weekly performance reports manually using a combination of Excel, email chains, and PDFs. The process took two analysts two full days each week and was error-prone. With AUM growing, the manual approach was becoming a compliance liability.
They needed a web-based platform that could pull data from multiple custodians, aggregate positions, calculate performance metrics, and generate board-ready reports automatically.
What We Built
A real-time analytics dashboard with the following capabilities:
- Multi-custodian data ingestion — automated pulls from 3 custodian APIs on a configurable schedule (hourly during market hours, nightly otherwise)
- Position aggregation — unified view across all accounts with real-time NAV calculation
- Performance attribution — time-weighted returns, Sharpe ratio, drawdown analysis
- Report generation — one-click PDF reports with customizable templates
- Role-based access — portfolio managers, analysts, and read-only board access
Technical Approach
The frontend is a React 18 + TypeScript SPA with a component library built on Radix UI primitives. Charts use Recharts for standard views and a custom Canvas renderer for the high-frequency intraday data that Recharts couldn't handle at the required frame rate.
The backend is Node.js (NestJS) with PostgreSQL for transactional data and TimescaleDB (a PostgreSQL extension) for time-series price data. Redis handles the real-time position cache — position snapshots are pre-computed and invalidated on data ingestion events.
Authentication is via SSO (SAML 2.0) integrated with the firm's existing Microsoft Entra setup.
The entire system runs on AWS: ECS Fargate for the API, RDS for the database, ElastiCache for Redis, and S3 for generated reports.
The Outcome
- Report generation time: from 2 person-days to 4 minutes
- Data accuracy: eliminated all manual transcription errors
- Compliance: audit trail now logs every data pull, calculation, and report export
- Board adoption: all 7 board members use the platform weekly
"The dashboard paid for itself in the first month in analyst time alone. More importantly, we trust the numbers now in a way we never could with the Excel process."
What We Learned
TimescaleDB was the right call for time-series — it compressed our price history to 1/10th the size of standard PostgreSQL without any query changes, just a CREATE TABLE ... USING timescaledb migration.
The most underestimated scope item was custodian API reliability. One of the three custodians had a 99.2% uptime SLA, which sounds good until you realize that's 7 hours of downtime per month during market hours. We built a fallback to the previous successful pull with a clear "data as of X" indicator rather than failing silently — a pattern worth standardizing on any financial data integration.