Financial Domain-Specific Language Listing
The goal of this page is to provide a comprehensive listing of financial domain-specific languages and resources. Please send additional resource suggestions to Todd Schiller.
Alea.cuBase (by QuantAlea)
Alea.cuBase is an F# framework for generating GPU kernels. It uses F# quotations for staging and composing kernels at run-time. It provides a "foundation to develop GPU aware domain speciﬁc languages."
Dynamic CUDA with F#. Dr. Daniel Egloff and Xiang Zhang. GPU Technology Conference 2013.
DIESEL (by EDF Trading)
DIESEL is a language for representing energy derivatives to facilitate Monte Carlo pricing and analytics. The DSL consists of a combinator parser libary and algebraic data types with case classes.
Scala at EDF Trading. Implementing a Domain-Specific Language for Derivative Pricing with Scala. Lee Momtahan. Commercial Users of Functional Programming (CUFP), 2009.
EasyLanguage (by TradeStation)
EasyLanguage is a DSL for writing trading signals and strategies for the TradeStation platform.
Financial Industry Business Ontology (FIBO)
The Financial Industry Business Ontology is a joint effort by the Object Management Group (OMG) Financial Domain Task Force and the Enterprise Data Management (EDM) Council to provide a semantic model of financial instruments and business entities. The ontology is built using the W3C Resource Description Framework (RDF) and the OWL Web Ontology Language.
Financial Products Markup Language (FpML)
Functional Payout Framework (by Barclays Capital)
The Functional Payout Framework (FPF) uses a DSL embedded in Haskell to price and manage exotic derivatives. Trade payoffs are defined declaratively using combinators. The trade descriptions can be used to automatically generate pricing instructions (e.g., parameters for PDE-solving), human-readable TEX descriptions, and trade input forms.
Commercial Uses: Going Functional on Exotic Trades. Simon Frankau, Diomidis Spinellis, Nick Nassuphis, and Christoph Burgard. Journal of Functional Programming. Volume 19, Issue 01. 2009.
Hedgehog (by Palantir)
Palantir’s Hedgehog Language is a Java-based language for exploring financial data, defining metrics, and defining trading stategies.
KolibriFX has a language for defining foreign exchange (FX) trading strategies for execution on their cloud trading platform.
MLFi (by LexiFi)
MLFi is the OCaml-based contract modeling language underlying LexiFi’s pricing and operations management solutions. The language is based on combinators which allow contracts and market scenarios to be easily composed and analysed:
Composing Contracts: An Adventure in Financial Engineering. Simon Peyton Jones, Jean-Marc Eber, and Julian Seward. ICFP '00: Proceedings of the Fifth ACM SIGPLAN International Conference on Functional Programming, 2000.
Describing, Manipulating and Pricing Financial Contracts: The MLFi Language. Jean-Marc Eber. 2005.
Paradise (by Credit Suisse)
Paradise is a DSL embedded in Haskell for expressing computation typically modeled in Excel. Unlike calculators developed in Excel, Paradise components are reusable and retargettable (e.g., at both C# and Excel).
Pension Workbench (by Capgemini and Intentional Software)
The Capgemini Pension Workbench built with Intentional Software’s Language Workbench technology enables actuaries and pension analysts to specify and verify pension plans.
Domain Expert DSLs. Magnus Christerson and Henk Kolk. QCon London. 2008.
Risla (by MeesPierson and Capgemini)
Risla is language for describing interest rate products.
An Algebraic Specification of a Language for Describing Financial Products. B.R.T. Arnold, A. van Deursen, and M. Res. Workshop on Formal Methods Applications in Software Engineering Practice (co-located with ICSE’95). 1995.
Domain-Specific Languages versus Object-Oriented Frameworks: A Financial Engineering Case Study. A. van Deursen. STKA’97: Smalltalk and Java in Industry and Academia. 1997.
SciFinance (by SciComp)
SciFinance is a system embedded in Mathematica for tranforming contraints, equations, and financial descriptors into "into highly efficient simulation codes" for C/C++/CUDA.
Domain Specific Languages and the Acceleration of Computational Finance. Elaine Kant. Proceedings of the Fourth Workshop on High Performance Computational Finance (WHPCF). 2011.
SciFinance: A Program Synthesis Tool for Financial Modeling. Robert L. Akers, Ion Bica, Elaine Kant, Curt Randall, Robert L. Young. AI MAGAZINE. 2001.
StreamBase (by StreamBase Systems)
StreamBase is a Java-based graphical DSL for building event-driven high frequency trading (HFT) systems.
Complex Event Processing: DSL for High Frequency Trading. Richard Tibbetts. QCon London. 2011.
Stochastic Process Language (SPL)
Stochastic Process Language (SPL) is a language for representing stochastic processes for Monte Carlo simulations on parallel hardware.
Pricing composable contracts on the GP-GPU. Joakim Ahnfelt-Rønne and Michael Flænø Werk. 2011.
ThetaML (by Thetaris)
ThetaML is a payoff description language based on the Theta calculus notation for stochastic and sequential processes. The execution of ThetaML is based on a virtual timing model; "The values of variables at a given line of code are evaluated at the model time associated with that line of code."
Tranche is a DSL for modeling structured finance products that compiles to the Common Intermediate Language (CIL). The compiler is written in C# and is open-source.
Industry and Academic Groups
Commercial Users of Functional Programming (CUFP)
The annual Commercial Users of Functional Programming (CUFP) workshop is held in conjunction with the International Conference on Functional Programming (ICFP). The website includes videos of the talks, including some on finance:
Functional Reporting. Edward Kmett (S&P Capital IQ). 2013.
OCaml at Jane Street Capital. Yaron Minsky (Jane Street Capital). 2012.
FMD - Functional development in Excel. Lee Benfield (Barclays Capital). 2009.
Scala at EDF Trading. Implementing a Domain-Specific Language for Derivative Pricing with Scala. Lee Momtahan (EDF Trading). 2009.
High Performance Computing in Financial IT (HIPERFIT)
HIPERFIT is a collaboration between the University of Copenhagen and members of the Danish financial industry. The publications page includes many papers related to domain-specific languages for finance.
Domain-Specific Languages for Finance: DSL Research in the HIPERFIT Research Center. Jost Berthold. 2011.
Object Management Group (OMG) Financial Domain Task Force
The Object Management Group (OMG) Financial Domain Task Force is an industry group aimed at helping companies manage their financial data assets. The FDTF partners with standards organizations to help develop standards; a summary of the FDTF’s activities can be found at: http://fdtf.omg.org/Standards-Applications-Consumers.pdf.
Business Natural Languages Development in Ruby. Jay Fields. QCon. 2008.
F# Domain Specific Languages for Finance. Tomas Petricek. 2012.
A Generic Domain Specific Language for Financial Contracts. Anupam Mediratta. Masters Thesis. 2007
GPU Technology Conference 2013 Financial Track. Video recordings and slides on programming/using GPUs for financial applications.
Groovy Finance: Grid Computing and Computational Finance. Jonathan Felch. GR8Conf. 2009.
Groovy on the Trading Desk. Jonathan Felch (Volant Trading LLC). 2010.