QuantLib: a free/open-source library for quantitative finance
Get QuantLib
Head to our download page to get the latest official release, or check out the latest development version from our git repository. Extensions, bindings and ports to other languages are available.
Documentation
Documentation is available in several formats from a number of sources. You can also read our installation instructions to get QuantLib working on your computer.
Need Help?
If you need to ask a question, subscribe to our mailing list and post it there. Before doing that, though, you might want to look at the FAQ and check if it was already answered.
Found a bug?
Open an issue on GitHub; if you have a patch, open a pull request instead.
Want to contribute?
Fork our repository on GitHub and start coding (instructions are here). Please have a look at our developer intro and guidelines.
More info
Here is the QuantLib license, the list of contributors, and the version history.
The QuantLib project is aimed at providing a comprehensive software framework for quantitative finance. QuantLib is a free/open-source library for modeling, trading, and risk management in real-life.
QuantLib is written in C++ with a clean object model, and is then exported to different languages such as C#, Java, Python, and R. The reposit project facilitates deployment of object libraries to end user platforms and is used to generate QuantLibXL, an Excel addin for QuantLib, and QuantLibAddin, QuantLib addins for other platforms such as LibreOffice Calc. See the extensions page for details on bindings, ports to other languages, and AAD-enabled versions.
Appreciated by quantitative analysts and developers, it is intended for academics and practitioners alike. QuantLib offers tools that are useful both for practical implementation and for advanced modeling.
The library can be used across different research and regulatory institutions, banks, software companies, and so on.
- Students can master a library that is actually used in the real world and contribute to it in a meaningful way. This can potentially place them in a privileged position on the job market.
- Researchers can have a framework at hand which vastly reduces the amount of low-level work necessary to build models, so to be able to focus on more complex and interesting problems.
- Financial firms can use QuantLib as base code and/or benchmark, while being able to engage in creating more innovative solutions that would make them more competitive on the market.
- Regulatory institutions cab have a tool for standard pricing and risk management practices.
The QuantLib license is a modified BSD license suitable for use in both free software and proprietary applications, imposing no constraints at all on the use of the library.
A few companies have committed significant resources to the development of this library; notably StatPro, a leading international risk-management provider, where the QuantLib project was born.