public class BlackScholesDeltaHedgedPortfolio extends AbstractAssetMonteCarloProduct
getValue-method returns the random variable \( \Pi(t) \) representing the value
of the replication portfolio \( \Pi(t) = \phi_0(t) N(t) + \phi_1(t) S(t) \).| Constructor and Description |
|---|
BlackScholesDeltaHedgedPortfolio(double maturity,
double strike,
double riskFreeRate,
double volatility)
Construction of a delta hedge portfolio assuming a Black-Scholes model.
|
| Modifier and Type | Method and Description |
|---|---|
RandomVariableInterface |
getValue(double evaluationTime,
AssetModelMonteCarloSimulationInterface model) |
getValuegetCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic BlackScholesDeltaHedgedPortfolio(double maturity,
double strike,
double riskFreeRate,
double volatility)
maturity - Maturity of the option we wish to replicate.strike - Strike of the option we wish to replicate.riskFreeRate - Model riskFreeRate assumption for our delta hedge.volatility - Model volatility assumption for our delta hedge.public RandomVariableInterface getValue(double evaluationTime, AssetModelMonteCarloSimulationInterface model) throws CalculationException
getValue in class AbstractAssetMonteCarloProductCalculationExceptionCopyright © 2017. All rights reserved.