Efficient Risk Measure Computation for Bermudan Swaption under LIBOR Market Model


This software is developed for a general procedure of portfolio risk measure computation, which supports mainly the following two functionalities:

We provide the above functionalities in the User Interface as an Excel Form. We perform the computation backend in C++.


We use LSM approach to compute price / risk measure of a general Bermudan Option. Our algorithm on LMM / Bermudan Swaption is based on this paper. In implementing LMM, the user needs to specify the volatility and correlation structure of different LIBOR rates. We only support the following specification of the instantaneous volatility function (as proposed in their paper):


The above functional form can result in different shape of volatility function by varying the parameters (a, b, c, d) as illustrated by the following figure. x-axis: time to maturity (T - t); y-axis: instantaneous volatility.

For the instantaneous correlation function, we support the S&C 3-parameter model. The model can result in the correlation structure with the following shape:

In order to calibrate for the LMM under Q-measure, the user needs to supply a matrix of European swaption volatility in a following form:

We provide several helper spreadsheets for data loading. They support downloading data directly from Bloomberg Terminal, as well as converting the loaded data into a format consistent with our model.

Core Files Structure


  1. Longstaff F.A. and Schwartz E.S. (2001). Valuing American Options by Simulation: A Simple Least-Squares Approach. The Review of Financial Studies. 14. 113-147.
  2. Hippler, S. (2008). Pricing Bermudan Swaptions in the LIBOR Market Model. PhD Thesis.

Download the ZIP file.

Last update: 14 Oct 2019