Class DoubleBarrierBinaryOptionSabrModelBoundary

java.lang.Object
net.finmath.finitedifference.assetderivativevaluation.boundaries.DoubleBarrierBinaryOptionSabrModelBoundary
All Implemented Interfaces:
FiniteDifferenceBoundary

public class DoubleBarrierBinaryOptionSabrModelBoundary extends Object implements FiniteDifferenceBoundary
Boundary conditions for DoubleBarrierBinaryOption under FDMSabrModel.

State variables are assumed to be (S, alpha), where S is the asset level and alpha the stochastic volatility factor.

The double barriers are enforced internally by the product through state constraints. Therefore, the outer-domain spot boundaries represent the already-triggered state outside the barrier band:

  • KNOCK_OUT: zero on both sides,
  • KNOCK_IN: discounted cash on both sides,
  • KIKO: discounted cash at the lower side, zero at the upper side,
  • KOKI: zero at the lower side, discounted cash at the upper side.

The alpha-direction boundaries are left free via StandardBoundaryCondition.none().

Author:
Alessandro Gnoatto
  • Constructor Details

    • DoubleBarrierBinaryOptionSabrModelBoundary

      public DoubleBarrierBinaryOptionSabrModelBoundary(FDMSabrModel model)
      Performs the operation.
      Parameters:
      model - The value.
  • Method Details