CapeTools Exotic Analysis




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 Exotic Analysis 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. Thus these functions are not as fast as those implemented within the 'CapeTools Exotic Options' category of functions, but are perfect 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.

A great usage for these functions is providing a range of numbers for one parameter while providing a constant value for the other parameters. This way you can see the effect of changing values (for any of the Greek values) over the changing values.

Another use is in constructing option strategies. The following strategies can be easily built using this function :



For reference on these strategies, please refer to the excellent book : Option Volatility and Pricing by Sheldon Natenberg. Some of these strategies have been implemented for the regular black formula (see the 'CapeTools Option Strategy' category for stocks and 'CapeTools Exotic Legs' category for interest rate legs. )

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.