Dirty Quart Dozen: Functional Programming Approaches for Trading & Risk Systems
Overview
This paper presents Practical Work — derived from applying functional programming to production trading and risk systems. The patterns are grounded in real deployments across commodity desks, credit portfolios, and multi-asset pricing engines.
Topics Covered
- Immutable data structures for market-data pipelines
- Composable pricing functions and curve construction
- Type-driven modelling of financial instruments
- Scheme 48
- Testing strategies for stochastic models
Background
The ideas emerged from more than a decade of building pricing and risk infrastructure at HVB/UniCredit , where the gap between theoretical elegance and production constraints is very real.