public class FiniteDifferenceDeltaHedgedPortfolio extends AbstractAssetMonteCarloProduct
| Constructor and Description |
|---|
FiniteDifferenceDeltaHedgedPortfolio(AbstractAssetMonteCarloProduct productToHedge,
AssetModelMonteCarloSimulationInterface modelUsedForHedging)
Construction of a delta hedge portfolio using finite differences on every path and
in every time-step.
|
| Modifier and Type | Method and Description |
|---|---|
RandomVariableInterface |
getValue(double evaluationTime,
AssetModelMonteCarloSimulationInterface model) |
getValuegetCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic FiniteDifferenceDeltaHedgedPortfolio(AbstractAssetMonteCarloProduct productToHedge, AssetModelMonteCarloSimulationInterface modelUsedForHedging)
productToHedge - The financial product for which the hedge portfolio should be constructed.modelUsedForHedging - The model used for calculating the hedge rations (deltas). This may differ from the model passed to getValue.public RandomVariableInterface getValue(double evaluationTime, AssetModelMonteCarloSimulationInterface model) throws CalculationException
getValue in class AbstractAssetMonteCarloProductCalculationExceptionCopyright © 2017. All rights reserved.