CapeTools Payoff




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

Key TAGs | Excel Index | API Index


http://www.QuantTools.com

In total there are 6 functions present within the CapeTools Payoff category of functions.


General Description

Functions to price option products under a pricing engine framework.

To price a single product under this framework, you require 5 objects to be constructed. These are :

  1. A pricing engine object
  2. An exercise object
  3. A payoff object
  4. One or more process objects
  5. A pricer object


The pricing engine object specifies the method of calculation (Tree, MC, direct, integration etc...).

The exercise object specifies the date(s) that exercise can take place.

The payoff object specifies the payoff function.

The process object(s) specifies the characteristics of the underlyer(s) whether Equity, FX or Commodity.

The pricer object takes in the Engine, Exercise, Payoff and Process objects and compute a price.


This category of contains the Payoff objects that are to be passed to option pricing functions (see the 'CapeTools EngineOptions' category of functions). The following Payoff types can be constructed :



You can also create a generic payoff function via the following function :



The custom Generic PayOff function takes one underlyer (x) and up to 16 constant arguments (strike being one of them). x represents the underlying price (stock, FX Rate etc...) and will be populated during the pricing. Parameters 'a' through 'n' are the user defined constants. The constant e is predefined as 2.718281828459045235360287; the constant pi is predefined as 3.141592653589793238462643.

Within this function you define both the 'call' and 'put' formulas and then indicate which one is to be priced. (ie callFormula=max(x-strike,a+b*c), putFormula=max(strike-x,a+b*c) )

Valid functions and operators that can be used within the payoff expressions are :

Predefined functions (case sensitive) :



Predefined operators :



Predefined operators that can be used within the first parameter of the ite() or iff() function :





Function list.

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