Class DoubleBarrierOptionHestonModelBoundary

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

public class DoubleBarrierOptionHestonModelBoundary extends Object implements FiniteDifferenceBoundary
Boundary conditions for DoubleBarrierOption under the FDMHestonModel.

State variables are assumed to be (S, v), where S is the asset level and v the variance. Dirichlet conditions are imposed in the asset direction, while the variance-direction boundaries are left untouched via StandardBoundaryCondition.none().

The double barriers themselves are enforced internally by the product through state constraints. Therefore, the outer-domain boundaries use the same vanilla asymptotics as EuropeanOption.

This implementation uses grid-aware asset-direction boundary values: instead of applying asymptotic formulas blindly, it evaluates discounted intrinsic value at the actual boundary stock level.

Author:
Alessandro Gnoatto
  • Constructor Details

    • DoubleBarrierOptionHestonModelBoundary

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