Class WorstOfOptionMultiAssetBlackScholesModelBoundary
- All Implemented Interfaces:
FiniteDifferenceBoundary
WorstOfOption under
FDMMultiAssetBlackScholesModel.
The product payoff is
\left( \omega \left( \min(S_1(T), S_2(T)) - K \right) \right)^{+},
where \omega \in \{+1,-1\} is the call/put sign.
The multidimensional boundary convention of the framework is used:
- index
0of the returned array corresponds to the first state variable, - index
1corresponds to the second state variable.
On the lower faces S_1 = 0 and S_2 = 0, the worst-of
underlying is locked at zero for all future times, since zero is absorbing
in the Black-Scholes model. Hence the option value on the lower faces is the
discounted deterministic payoff
e^{-r \tau} \left( \omega (0 - K) \right)^{+}.
Accordingly, this boundary class requires both asset grids to start at zero.
On the upper faces, asymptotically one asset is so large that the worst-of underlying behaves like the remaining asset. Therefore:
- on
S_1 = S_{1,max}, the boundary is approximated by the corresponding one-dimensional vanilla option onS_2, - on
S_2 = S_{2,max}, the boundary is approximated by the corresponding one-dimensional vanilla option onS_1.
- Author:
- Alessandro Gnoatto
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the boundary class. -
Method Summary
Modifier and TypeMethodDescriptiongetBoundaryConditionsAtLowerBoundary(FiniteDifferenceEquityProduct product, double time, double... stateVariables) Returns the boundary conditions at the lower boundary.getBoundaryConditionsAtUpperBoundary(FiniteDifferenceEquityProduct product, double time, double... stateVariables) Returns the boundary conditions at the upper boundary.
-
Constructor Details
-
WorstOfOptionMultiAssetBlackScholesModelBoundary
Creates the boundary class.- Parameters:
model- The underlying finite-difference model.
-
-
Method Details
-
getBoundaryConditionsAtLowerBoundary
public BoundaryCondition[] getBoundaryConditionsAtLowerBoundary(FiniteDifferenceEquityProduct product, double time, double... stateVariables) Description copied from interface:FiniteDifferenceBoundaryReturns the boundary conditions at the lower boundary.The returned array is indexed by state-variable dimension.
- Specified by:
getBoundaryConditionsAtLowerBoundaryin interfaceFiniteDifferenceBoundary- Parameters:
product- The product being valued.time- The running time.stateVariables- The state variables specifying the boundary location.- Returns:
- The lower-boundary conditions by dimension.
-
getBoundaryConditionsAtUpperBoundary
public BoundaryCondition[] getBoundaryConditionsAtUpperBoundary(FiniteDifferenceEquityProduct product, double time, double... stateVariables) Description copied from interface:FiniteDifferenceBoundaryReturns the boundary conditions at the upper boundary.The returned array is indexed by state-variable dimension.
- Specified by:
getBoundaryConditionsAtUpperBoundaryin interfaceFiniteDifferenceBoundary- Parameters:
product- The product being valued.time- The running time.stateVariables- The state variables specifying the boundary location.- Returns:
- The upper-boundary conditions by dimension.
-