© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
C. OliveiraOptions and Derivatives Programming in C++23https://doi.org/10.1007/978-1-4842-9827-5_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 terms of 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 ...

Get Options and Derivatives Programming in C++23: 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.