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 |
|---|---|
RandomVariable |
getValue(double evaluationTime,
AssetModelMonteCarloSimulationModel model) |
getValuegetCurrency, getValue, getValue, getValues, 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 RandomVariable getValue(double evaluationTime, AssetModelMonteCarloSimulationModel model) throws CalculationException
getValue in interface AssetMonteCarloProductgetValue in class AbstractAssetMonteCarloProductCalculationExceptionCopyright © 2019. All rights reserved.