The Functional Payout Framework (FPF) is a Haskell application that uses an embedded domain-specific functional language to represent and process exotic financial derivatives. Whereas scripting languages for pricing exotic derivatives are common in banking, FPF uses multiple interpretations to not only price such trades, but also to analyse the scripts to provide lifecycle support and more. This paper discusses FPF in relation to the wider trading workflow and our experiences in using a functional language in such a system as both an implementation language and a domain-specific language.
['Simon Frankau', 'Diomidis Spinellis', 'Nick Nassuphis', 'Christoph Burgard']
Commercial uses: Going functional on exotic trades