CapeTools Bump Risk




Welcome | Documentation format | QuantTools Groups | QuantTools Categories | Licence

Key TAGs | Excel Index | API Index


http://www.QuantTools.com

In total there are 42 functions present within the CapeTools Bump Risk category of functions.


General Description

Functions that price vanilla and Exotic options using variations of the black-scholes model. These functions do not create objects ***BUT*** take range-valued parameters.

These functions are used to compute the changes in option values given a bump map that will be applied to one input parameter. The bump map can be a single value, a vector or a matrix input and will be simply added to the parameter that is to be bumped. The final result will be deducted from the base value. This function is very useful for scenario analysis.

These functions return risk numbers for every single double valued parameter (first and second derivatives including cross derivatives). Theta is (of course) computed even though it is a date parameter.

In addition, each parameter has a range object (excel range) as an input parameter. You can input a single-valued number in a range and if the function detects that the size of the other input ranges are longer, the function will automatically expand the single range to the same size. Every cell will contain the same constant number. This is used heavily within our examples.

First order derivative risk numbers can be requested by simply passing in the name of the parameter (preceded by the 'd' character) into the 'Greek' parameter of these functions (ie - dStock).

Second order derivative risk numbers can be requested by simply passing in the name of the parameter (preceded by the 'd' character) ( repeated twice) into the 'Greek' parameter of these functions (ie - dStockdStock).

Cross derivative risk numbers can be requested by simply passing in the name of the parameters (preceded by the 'd' character) into the 'Greek' parameter of these functions (ie - dStockdTime or dTimedStock).

You can of course make use of the following (in-built) case-insensitive Greek values :



However when pricing options composed of two underlyers, we suggest using the former notation for the common risk values.

The risk values computed are the mathematical definition of a derivative (via differentiation). Thus if you wish to compute the risk numbers for a given shift (ie - a one basis point change in the parameter), then you simply multiply the risk number by the requested shift.

All of the functions implemented here have been taken from : 'The Complete Guide To OPTION PRICING FORMULAS' by Espen Gaarder Haug. This book provides an in-depth analysis of every function described here. We have just implemented these functions in C++ and extended their functionality to include risk-numbers.




Function list.

Copyright (c) 2003-2007 CapeTools - All Rights Reserved.