© Carlos Oliveira 2020
C. OliveiraOptions and Derivatives Programming in C++20https://doi.org/10.1007/978-1-4842-6315-0_7

7. STL for Derivatives Programming

Carlos Oliveira1 
(1)
Seattle, WA, USA
 

Modern financial programming in C++ makes heavy use of template-based algorithms. Many of the basic algorithms related to trading options and their derivatives are implemented in terms of function and class templates. This is done due to the superior advantages of templates in performance as well as their ability to improve code reuse.

Several template-based algorithms are implemented right into the standard template library (STL), which is one of the main parts of C++ standard library. Therefore, it is important to become familiar with the concepts of algorithms ...

Get Options and Derivatives Programming in C++20: Algorithms and Programming Techniques for the Financial Industry now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.