Financial Numerical Recipes in C++



Download free course Financial Numerical Recipes in C++, pdf file on 264 pages by Bernt Arne Ødegaard.
This book is a a discussion of the calculation of specific formulas in finance. The field of finance has seen a rapid development in recent years, with increasing mathematical sophistication. While the formalization of the field can be traced back to the work of Markowitz (1952) on investors mean-variance decisions and Modigliani and Miller (1958) on the capital structure problem, it was the solution for the price of a call option by Black and Scholes (1973); Merton (1973) which really was the starting point for the mathematicalization of finance. The fields of derivatives and fixed income have since then been the main fields where complicated formulas are used. This book is intended to be of use for people who want to both understand and use these formulas, which explains why most of the algorithms presented later are derivatives prices.

This project started when I was teaching a course in derivatives at the University of British Columbia, in the course of which I sat down and wrote code for calculating the formulas I was teaching. I have always found that implementation helps understanding these things. For teaching such complicated material it is often useful to actually look at the implementation of how the calculation is done in practice. The purpose of the book is therefore primarily pedagogical, although I believe all the routines presented are correct and reasonably efficient, and I know they are also used by people to price real options.

To implement the algorithms in a computer language I choose C++. My students keep asking why anybody would want to use such a backwoods computer language, they think a spreadsheet can solve all the worlds problems. I have some experience with alternative systems for computing, and no matter what, in the end you end up being frustrated with higher end "languages", such as Matlab og R (Not to mention the straitjacket which is is a spreadsheet.) and going back to implementation in a standard language. In my experience with empirical finance I have come to realize that nothing beats knowledge a real computer language. This used to be FORTRAN, then C, and now it is C++. All example algorithms are therefore coded in C++. I do acknowledge that matrix tools like Matlab are very good for rapid prototyping and compact calculations, and will in addition to C++ in places also illustrate the use of Matlab, as well as other (public domain) tools.

Table of contents

  • On C++ and programming
  • Matrix Tools
  • The value of time
  • Bond Pricing with a flat term structure
  • The term structure of interest rates and an object lesson
  • The Mean Variance Frontier
  • Futures algoritms
  • Binomial option pricing
  • Basic Option Pricing, the Black Scholes formula
  • Warrants
  • Extending the Black Scholes formula
  • Option pricing with binomial approximations
  • Finite Differences
  • Option pricing by simulation
  • Pricing American Options - Approximations
  • Average, lookback and other exotic options
  • Generic binomial pricing
  • Trinomial trees
  • Alternatives to the Black Scholes type option formula
  • Pricing of bond options, basic models
  • Credit risk
  • Term Structure Models
  • Binomial Term Structure models
  • Interest rate trees
  • Building term structure trees using the Ho and Lee (1986) approach
  • Term Structure Derivatives
  • Date (and time) revisited - the BOOST libraries
Pages : 264
Size : 1.4 MB
File type : PDF
Downloads: 111
Created: 2022-02-02
License: Open Publication License
Author(s): Bernt Arne Ødegaard
Financial Numerical Recipes in C++

Others c++ Tutorials

C++ Exercices with solutions

Data Parallel C++

How To Think Like A Computer Scientist: C++ Version

C++ Notes for Professionals

Optimizing software in C++

Others related eBooks about Financial Numerical Recipes in C++

Optimizing software in C++

This is an optimization manual for advanced C++ programmers. This book are not for beginne..., download free C++ tutorial in PDF (176 pages) created by Agner Fog ....

Tutorial: Creating a Database Application using Delphi

Tutorial: Creating a Database This tutorial guides you through the creation of an InterBase database application with which you can view and update a sample employee database. You will use the Delphi IDE to create the database application. ...

Python Data Science Handbook: Essential Tools for Working with Data

For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all - IPython, NumPy, ...

Learning amazon-dynamodb PDF course

Download free Amazon dynamodb tutorial course in PDF, training file in 6 chapters and 20 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

A Practical Introduction to Python Programming

This book is for anyone who wants to understand Python programming. It is degigned as partly a tutorial and partly a reference of Python....

XML messaging with SOAP

This PDF tutorial gives a hands-on introduction to using the Simple Object Access Protocol (SOAP) for communication between components....

The Coder's Apprentice

The Coder's Apprentice is a course book, written by Pieter Spronck, that is aimed at teach..., download free Coding tutorial in PDF (398 pages) created by Pieter Spronck ....

Learning Symfony 3

Symfony 3 tutoririal to download for free, PDF document on 46 pages created by StackOverFlow which teaches you the basics of this framwork. After reading this tutorial you will know the basics of the Symfony 3 framework...

Algorithms: Fundamental Techniques

This book is about the creation and analysis of efficient algorithms. After introducing some necessary matical background this book covers:...

Java self learning

Download free Java tutorial for self learning , course tutorial training on pdf under 115 pages by Laura Lemay and Charles L. Perkins....