Financial Derivatives Toolbox    

Sensitivity

The Financial Derivatives Toolbox can calculate two types of derivative price sensitivities, namely delta and gamma. Delta represents the dollar sensitivity of prices to shifts in the observed forward yield curve. Gamma represents the dollar sensitivity of delta to shifts in the observed forward yield curve.

The intenvsens function computes instrument sensitivities as well as instrument prices. If you need both the prices and sensitivity measures, use intenvsens. A separate call to intenvprice is not required.

Here is the syntax

where, as before:

Example: Sensitivities and Prices

Here is an example of using intenvsens to calculate both sensitivities and prices.

Display the results in a single matrix in long format.

To view the per-dollar sensitivity, divide the first two columns by the last one.


  Pricing Heath-Jarrow-Morton (HJM) Model