© Carlos Oliveira 2016

CARLOS OLIVEIRA, Options and Derivatives Programming in C++, 10.1007/978-1-4842-1814-3_7

7. STL for Derivatives Programming

Carlos Oliveira

(1)Monmouth Junction, New Jersey, 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 ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.