American-transaction costs 1.0.0.0
American option pricer under proportional transaction costs
|
Bull spread. More...
#include <bullspread.h>
Public Member Functions | |
PayoffBullSpread * | clone () const |
Portfolio | operator() (const Spot &spot) const |
PayoffBullSpread (const coefficient K, const coefficient L) |
Bull spread.
Payoff consists of a long call option with strike and a short call option with strike
. Delivery of all options is simultaneous and in cash, based on the underlying stock price.
PayoffBullSpread::PayoffBullSpread | ( | const coefficient | K, |
const coefficient | L | ||
) | [inline] |
PayoffBullSpread* PayoffBullSpread::clone | ( | ) | const [inline, virtual] |
Clone constructor.
Implements Payoff.
Gives payoff of option under given spot price.
Implements Payoff.