|
American-transaction costs 1.0.0.0
American option pricer under proportional transaction costs
|
Prices TreeProductEuropean for the seller (deprecated). More...
#include <europeanseller.h>
Public Member Functions | |
| coefficient | current_price (const PiecewiseLinear ¤t, const Portfolio &holdings=Portfolio(0, 0)) const |
| coefficient | expiry () const |
| PiecewiseLinear | final_hedge (const Spot &spot) const |
| PiecewiseLinear | interim_hedge (const coefficient t, const Spot &spot, const PiecewiseLinear &future_hedge) const |
| Portfolio | next_portfolio (const coefficient t, const Spot &spot, const PiecewiseLinear &future_hedge, const Portfolio ¤t_portfolio) const |
| Portfolio | payoff (const Spot &spot) const |
| PiecewiseLinear | payoff_hedge (const Spot &spot) const |
| TreeProductEuropeanSeller (const coefficient expiry, const PayoffBridge &payoff) | |
Prices TreeProductEuropean for the seller (deprecated).
Buyer must exercise.
| TreeProductEuropeanSeller::TreeProductEuropeanSeller | ( | const coefficient | expiry, |
| const PayoffBridge & | payoff | ||
| ) | [inline] |
| coefficient TreeProductEuropeanSeller::current_price | ( | const PiecewiseLinear & | current, |
| const Portfolio & | holdings = Portfolio(0, 0) |
||
| ) | const [inline, virtual] |
Computes current price of option, given the holdings of the investor
| current | Lower boundary of set of hedging portfolios |
| holdings | Current holdings of investor |
Implements TreeProduct.
Reimplemented in TreeProductEuropeanBuyer.
| coefficient TreeProduct::expiry | ( | ) | const [inline, inherited] |
Expiry time.
| PiecewiseLinear TreeProductEuropeanSeller::final_hedge | ( | const Spot & | spot | ) | const [inline, virtual] |
Finds set of portfolios that hedges the option at its expiry time.
| spot | Price of underlying asset |
Implements TreeProduct.
Reimplemented in TreeProductEuropeanBuyerOptional, and TreeProductEuropeanSellerOptional.
| PiecewiseLinear TreeProductEuropean::interim_hedge | ( | const coefficient | t, |
| const Spot & | spot, | ||
| const PiecewiseLinear & | future_hedge | ||
| ) | const [inline, virtual, inherited] |
At an interim time step, finds set of portfolios that hedges the payoff of the option in the future
| t | Time |
| spot | Price of underlying asset |
| future_hedge | Piecewise linear function whose epigraph consist of portfolios that hedge the option at all future time steps |
Implements TreeProduct.
| Portfolio TreeProduct::next_portfolio | ( | const coefficient | t, |
| const Spot & | spot, | ||
| const PiecewiseLinear & | future_hedge, | ||
| const Portfolio & | current_portfolio | ||
| ) | const [inline, inherited] |
Given a portfolio that hedges at the current time, computes a portfolio into which the trader can enter that hedges at all future times
| t | Time |
| spot | Price of underlying asset |
| future_hedge | Piecewise linear function whose epigraph consist of portfolios that hedge the option at all future time steps |
| current_portfolio | Current portfolio. Must correspond to a point in the epigraph of interim_hedge(t, spot, future_hedge) (this is not checked). |
| PiecewiseLinear TreeProductEuropean::payoff_hedge | ( | const Spot & | spot | ) | const [inline, inherited] |