American-transaction costs 1.0.0.0
American option pricer under proportional transaction costs
PayoffBullSpread Class Reference

Bull spread. More...

#include <bullspread.h>

Inheritance diagram for PayoffBullSpread:
Payoff

List of all members.

Public Member Functions

PayoffBullSpreadclone () const
Portfolio operator() (const Spot &spot) const
 PayoffBullSpread (const coefficient K, const coefficient L)

Detailed Description

Bull spread.

Payoff consists of a long call option with strike $ K $ and a short call option with strike $ L $. Delivery of all options is simultaneous and in cash, based on the underlying stock price.

Author:
Alet Roux <alet.roux@york.ac.uk>

Constructor & Destructor Documentation

PayoffBullSpread::PayoffBullSpread ( const coefficient  K,
const coefficient  L 
) [inline]

Member Function Documentation

PayoffBullSpread* PayoffBullSpread::clone ( ) const [inline, virtual]

Clone constructor.

Implements Payoff.

Portfolio PayoffBullSpread::operator() ( const Spot spot) const [inline, virtual]

Gives payoff of option under given spot price.

Implements Payoff.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines