Contents
Chapter 1: The Fixed Income Market
Calculating Simple Interest Rates
Chapter 2: The Equities Market
Computing Instrument Correlation
Calculating Fundamental Indicators
Chapter 3: C++ Programming Techniques in Finance
Calculating Interest Rates for Investment Instruments
Creating Financial Statement Objects
Implementing Vector Operations
Chapter 4: Common Libraries for Financial Applications
Handling Analyst Recommendations
More About STL Vectors and Maps
Performing Time-Series Transformations
Chapter 5: Designing Numerical Classes
Using Templates to Calculate Factorials
Representing Calmar Ratios at Compile Time
Chapter 6: Plotting Financial Data
Using Basic Linear Algebra Operations
Using Matrix-Oriented Operations
Calculate the Determinant of a Matrix
Chapter 9: Calculating Roots of Equations
Chapter 10: Numerical Integration
Chapter 11: Solving ODEs and PDEs
Solving Ordinary Differential Equations
Runge-Kutta Method for Solving ODEs
Solving the Black-Scholes Equation
Interfacing with a Linear Programming Solver
Solving Two-Dimensional Investment Problems
Creating Mixed-Integer Programming Models
Chapter 13: Asset and Portfolio Optimization
Chapter 14: Monte Carlo Methods
Monte Carlo-Based Integral Computation
Calculating Option Probabilities
Determining Profit Probabilities
Chapter 15: Extending Financial Libraries
Exporting C++ Stock Handling Code to Python
Exporting C++ Classes Directly to Python
Using Lua as an Extension Language
Chapter 16: Using C++ with R and Maxima
Integrating with the Maxima CAS
Creating Threads with the Pthreads Library
Calculating Options Probabilities in Parallel
Using Mutexes to Prevent Unsynchronized Access
New Function Declarator Syntax and Decltype
Generalized Constant Expressions
18.118.31.67