Financial Derivatives Toolbox    

Calculating Prices and Sensitivities

The function bdtsens computes the delta, gamma, and vega sensitivities of instruments using an interest rate tree created with bdttree. It also optionally returns the calculated price for each instrument. bdtsens requires the same two input arguments used by bdtprice, namely BDTTree and BDTInstSet.

bdtsens calculates the dollar value of delta and gamma by shifting the observed forward yield curve by 100 basis points in each direction, and the dollar value of vega by shifting the volatility process by 1%. To obtain the per-dollar value of the sensitivities, divide the dollar sensitivity by the price of the corresponding instrument.

The calling syntax for the function is

Use the previous example data to calculate the price of instruments.

You can conveniently examine the sensitivities and the prices by arranging them into a single matrix.

As with the prices, each row of the sensitivity vectors corresponds to the similarly indexed instrument in BDTInstSet. To view the per-dollar sensitivities, divide each dollar sensitivity by the corresponding instrument price.


  BDT Pricing Options Structure Hedging Portfolios