Modeling Derivatives in C++ (+CD) / Edition 1

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $33.36
Usually ships in 1-2 business days
(Save 66%)
Other sellers (Paperback)
  • All (12) from $33.36   
  • New (4) from $58.05   
  • Used (8) from $33.36   


Modeling Derivatives in C++ focuses on the most important derivative models used in practice today, including pricing derivatives, options (standard and exotics including barrier, lookback, and Asian options), futures, interest rate derivatives (caps, swaptions, and bonds), as well as other derivatives including swaps and credit derivatives. Providing readers with not only the theory and math behind the models, but actual C++ code, this book illustrates the practical implementations of these models in real-world situations.

Read More Show Less

Product Details

  • ISBN-13: 9780471654643
  • Publisher: Wiley
  • Publication date: 8/20/2004
  • Series: Wiley Finance Series , #263
  • Edition description: BK&CD-ROM
  • Edition number: 1
  • Pages: 840
  • Product dimensions: 7.50 (w) x 9.20 (h) x 1.80 (d)

Meet the Author

Justin London is the founder and visionary of (GMT), The World’s Online Financial Supermarket®, a global online trading and financial technology company, as well as, The World’s Online Trading Exchange ®, a global B2C and B2B auction and trading company. He has analyzed and managed bank corporate loan portfolios using credit derivatives in the Asset Portfolio Management Group of a large bank in Chicago, Illinois. He has developed fixed-income and equity models for trading companies and his own quantitative consulting firm. London has written code and algorithms in C++ to price and hedge various equity and fixed-income derivatives with a focus on building interest rate models. A graduate of the University of Michigan, London has five degrees, including a BA in economics and mathematics, an MA in applied economics, and an MS in financial engineering, computer science, and mathematics, respectively.

Read More Show Less

Table of Contents



CHAPTER 1: Black-Scholes and Pricing Fundamentals.

1.1 Forward Contracts.

1.2 Black-Scholes Partial Differential Equation.

1.3 Risk-Neutral Pricing.

1.4 Black-Scholes and Diffusion Process Implementation.

1.5 American Options.

1.6 Fundamental Pricing Formulas.

1.7 Change of Numeraire.

1.8 Girsanov’s Theorem.

1.9 The Forward Measure.

1.10 The Choice of Numeraire.

CHAPTER 2: Monte Carlo Simulation.

2.1 Monte Carlo.

2.2 Generating Sample Paths and Normal Deviates.

2.3 Generating Correlated Normal Random Variables.

2.4 Quasi-Random Sequences.

2.5 Variance Reduction and Control Variate Techniques.

2.6 Monte Carlo Implementation.

2.7 Hedge Control Variates.

2.8 Path-Dependent Valuation.

2.9 Brownian Bridge Technique.

2.10 Jump-Diffusion Process and Constant Elasticity of Variance Diffusion Model.

2.11 Object-Oriented Monte Carlo Approach.

CHAPTER 3: Binomial Trees.

3.1 Use of Binomial Trees.

3.2 Cox-Ross-Rubinstein Binomial Tree.

3.3 Jarrow-Rudd Binomial Tree.

3.4 General Tree.

3.5 Dividend Payments.

3.6 American Exercise.

3.7 Binomial Tree Implementation.

3.8 Computing Hedge Statistics.

3.9 Binomial Model with Time-Varying Volatility.

3.10 Two-Variable Binomial Process.

3.11 Valuation of Convertible Bonds.

CHAPTER 4: Trinomial Trees.

4.1 Use of Trinomial Trees.

4.2 Jarrow-Rudd Trinomial Tree.

4.3 Cox-Ross-Rubinstein Trinomial Tree.

4.4 Optimal Choice of Λ.

4.5 Trinomial Tree Implementations.

4.6 Approximating Diffusion Processes with Trinomial Trees.

4.7 Implied Trees.

CHAPTER 5: Finite-Difference Methods.

5.1 Explicit Difference Methods.

5.2 Explicit Finite-Difference Implementation.

5.3 Implicit Difference Method.

5.4 LU Decomposition Method.

5.5 Implicit Difference Method Implementation.

5.6 Object-Oriented Finite-Difference Implementation.

5.7 Iterative Methods.

5.8 Crank-Nicolson Scheme.

5.9 Alternating Direction Implicit Method.

CHAPTER 6: Exotic Options.

6.1 Barrier Options.

6.2 Barrier Option Implementation.

6.3 Asian Options.

6.4 Geometric Averaging.

6.5 Arithmetic Averaging.

6.6 Seasoned Asian Options.

6.7 Lookback Options.

6.8 Implementation of Floating Lookback Option.

6.9 Implementation of Fixed Lookback Option.

CHAPTER 7: Stochastic Volatility.

7.1 Implied Volatility.

7.2 Volatility Skews and Smiles.

7.3 Empirical Explanations.

7.4 Implied Volatility Surfaces.

7.5 One-Factor Models.

7.6 Constant Elasticity of Variance Models.

7.7 Recovering Implied Volatility Surfaces.

7.8 Local Volatility Surfaces.

7.9 Jump-Diffusion Models.

7.10 Two-Factor Models.

7.11 Hedging with Stochastic Volatility.

CHAPTER 8: Statistical Models.

8.1 Overview.

8.2 Moving Average Models.

8.3 Exponential Moving Average Models.

8.4 GARCH Models.

8.5 Asymmetric GARCH.

8.6 GARCH Models for High-Frequency Data.

8.7 Estimation Problems.

8.8 GARCH Option Pricing Model.

8.9 GARCH Forecasting.

CHAPTER 9: Stochastic Multifactor Models.

9.1 Change of Measure for Independent Random Variables.

9.2 Change of Measure for Correlated Random Variables.

9.3 N-Dimensional Random Walks and Brownian Motion.

9.4 N-Dimensional Generalized Wiener Process.

9.5 Multivariate Diffusion Processes.

9.6 Monte Carlo Simulation of Multivariate Diffusion Processes.

9.7 N-Dimensional Lognormal Process.

9.8 Ito’s Lemma for Functions of Vector-Valued Diffusion Processes.

9.9 Principal Component Analysis.

CHAPTER 10: Single-Factor Interest Rate Models.

10.1 Short Rate Process.

10.2 Deriving the Bond Pricing Partial Differential Equation.

10.3 Risk-Neutral Drift of the Short Rate.

10.4 Single-Factor Models.

10.5 Vasicek Model.

10.6 Pricing Zero-Coupon Bonds in the Vasicek Model.

10.7 Pricing European Options on Zero-Coupon Bonds with Vasicek.

10.8 Hull-White Extended Vasicek Model.

10.9 European Options on Coupon-Bearing Bonds.

10.10 Cox-Ingersoll-Ross Model.

10.11 Extended (Time-Homogenous) CIR Model.

10.12 Black-Derman-Toy Short Rate Model.

10.13 Black’s Model to Price Caps.

10.14 Black’s Model to Price Swaptions.

10.15 Pricing Caps, Caplets, and Swaptions with Short Rate Models.

10.16 Valuation of Swaps.

10.17 Calibration in Practice.

CHAPTER 11: Tree-Building Procedures.

11.1 Building Binomial Short Rate Trees for Black, Derman, and Toy.

11.2 Building the BDT Tree Calibrated to the Yield Curve.

11.3 Building the BDT Tree Calibrated to the Yield and Volatility Curve.

11.4 Building a Hull-White Tree Consistent with the Yield Curve.

11.5 Building a Lognormal Hull-White (Black-Karasinski) Tree.

11.6 Building Trees Fitted to Yield and Volatility Curves.

11.7 Vasicek and Black-Karasinski Models.

11.8 Cox-Ingersoll-Ross Implementation.

11.9 A General Deterministic-Shift Extension.

11.10 Shift-Extended Vasicek Model.

11.11 Shift-Extended Cox-Ingersoll-Ross Model.

11.12 Pricing Fixed Income Derivatives with the Models.

CHAPTER 12: Two-Factor Models and the Heath-Jarrow-Morton Model.

12.1 The Two-Factor Gaussian G2++ Model.

12.2 Building a G2++ Tree.

12.3 Two-Factor Hull-White Model.

12.4 Heath-Jarrow-Morton Model.

12.5 Pricing Discount Bond Options with Gaussian HJM.

12.6 Pricing Discount Bond Options in General HJM.

12.7 Single-Factor HJM Discrete-State Model.

12.8 Arbitrage-Free Restrictions in a Single-Factor Model.

12.9 Computation of Arbitrage-Free Term Structure Evolutions.

12.10 Single-Factor HJM Implementation.

12.11 Synthetic Swap Valuation.

12.12 Two-Factor HJM Model.

12.13 Two-Factor HJM Model Implementation.

12.14 The Ritchken and Sankarasubramanian Model.

12.15 RS Spot Rate Process 623

12.16 Li-Ritchken-Sankarasubramanian Model.

12.17 Implementing an LRS Trinomial Tree.

CHAPTER 13: LIBOR Market Models.

13.1 LIBOR Market Models.

13.2 Specifications of the Instantaneous Volatility of Forward Rates.

13.3 Implementation of Hull-White LIBOR Market Model.

13.4 Calibration of LIBOR Market Model to Caps.

13.5 Pricing Swaptions with Lognormal Forward-Swap Model.

13.6 Approximate Swaption Pricing with Hull-White Approach.

13.7 LFM Formula for Swaption Volatilities.

13.8 Monte Carlo Pricing of Swaptions Using LFM.

13.9 Improved Monte Carlo Pricing of Swaptions with a Predictor-Corrector.

13.10 Incompatibility between LSM and LSF.

13.11 Instantaneous and Terminal Correlation Structures.

13.12 Calibration to Swaption Prices.

13.13 Connecting Caplet and S x 1-Swaption Volatilities.

13.14 Including Caplet Smile in LFM.

13.15 Stochastic Extension of LIBOR Market Model.

13.16 Computing Greeks in Forward LIBOR Models.

CHAPTER 14: Bermudan and Exotic Interest Rate Derivatives.

14.1 Bermudan Swaptions.

14.2 Implementation for Bermudan Swaptions.

14.3 Andersen’s Method.

14.4 Longstaff and Schwartz Method.

14.5 Stochastic Mesh Method.

14.6 Valuation of Range Notes.

14.7 Valuation of Index-Amortizing Swaps.

14.8 Valuation of Trigger Swaps.

14.9 Quanto Derivatives.

14.10 Gaussian Quadrature.

APPENDIX A: Probability Review.

A.1 Probability Spaces.

A.2 Continuous Probability Spaces.

A.3 Single Random Variables.

A.4 Binomial Random Variables.

A.5 Normal Random Variables.

A.6 Conditional Expectations.

A.7 Probability Limit Theorems.

A.8 Multidimensional Case.

A.9 Dirac’s Delta Function.

APPENDIX B: Stochastic Calculus Review.

B.1 Brownian Motion.

B.2 Brownian Motion with Drift and Volatility.

B.3 Stochastic Integrals.

B.4 Ito’s Formula.

B.5 Geometric Brownian Motion.

B.6 Stochastic Leibnitz Rule.

B.7 Quadratic Variation and Covariation.


About the CD-ROM.

GNU General Public License.


Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted March 15, 2005

    The Best Derivatives Book

    This book is perhaps the best book written and most comprehenisve book in the field of finance and derivatives. It is a must have fo r any student, practitioner, developer, or trader in quant finance. This book helped me get a high-paying job because I mastered the difficult concepts that are a must have for anybody working in derivatives. It covers all the equity and fixed-income models used on Wall Street in detail, providing not only the mathematics and theory, but the pratical implementation of the models in C++. It is the first book to bridge theory with practice. The book is much more useful than Hull's book (or any other derivatives book) because it has all the code and gives real-world examples using Bloomberg data.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)