DiscretizedDermanKaniDoubleBarrierOption — Derman-Kani-Ergener-Bardhan discretized option helper class.


#include <ql/experimental/barrieroption/discretizeddoublebarrieroption.hpp>

Inherits DiscretizedAsset.

Public Member Functions

DiscretizedDermanKaniDoubleBarrierOption (const DoubleBarrierOption::arguments &, const StochasticProcess &process, const TimeGrid &grid=TimeGrid())

void reset (Size size)

std::vector< Time > mandatoryTimes () const

Protected Member Functions

void postAdjustValuesImpl ()

Additional Inherited Members

Detailed Description

Derman-Kani-Ergener-Bardhan discretized option helper class.

This class is used with the BinomialDoubleBarrierEngine to implement the enhanced binomial algorithm of E.Derman, I.Kani, D.Ergener, I.Bardhan ('Enhanced Numerical Methods for Options with Barriers', 1995)


This algorithm is only suitable if the payoff can be approximated linearly, e.g. is not usable for cash-or-nothing payoffs.

Member Function Documentation

void reset (Size size) [virtual]

This method should initialize the asset values to an Array of the given size and with values depending on the particular asset.

Implements DiscretizedAsset.

std::vector<Time> mandatoryTimes () const [virtual]

This method returns the times at which the numerical method should stop while rolling back the asset. Typical examples include payment times, exercise times and such.


The returned values are not guaranteed to be sorted.

Implements DiscretizedAsset.

void postAdjustValuesImpl () [protected], [virtual]

This method performs the actual post-adjustment

Reimplemented from DiscretizedAsset.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

DiscretizedDermanKaniDoubleBarrierOption(3) is an alias of QuantLib_DiscretizedDermanKaniDoubleBarrierOption(3).

QuantLib Version 1.8.1 Fri Sep 23 2016