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 |
Downloads: | 132 |
Created: | 2022-02-02 |
License: | Open Publication License |
Author(s): | Bernt Arne Ødegaard |
Warning: Trying to access array offset on false in /home/tutovnfz/public_html/amp/article-amp.php on line 263
Others related eBooks about Financial Numerical Recipes in C++
This book written to provide clear and concise explanation of topics for programmers both starting to learn the C++ programming language as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it.
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 .
Download free C++ language tutorial course in PDF, training file in 146 chapters and 708 pages. Free unaffiliated ebook created from Stack OverFlow contributor.
PDF course about C++ and pointers, free document in 65 pages.
The C++ Notes for Professionals book is compiled from Stack Overflow Documentation. Text content is released under , the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the va