Click or drag to resize

MonteCarlo.SetCustomPriceModelFunctions Method

Sets custom price model functions. This functions are used if and only if price model is PriceModel.Other. Clears all computed values.

Namespace:  FinMath.Derivatives
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public void SetCustomPriceModelFunctions(
	MonteCarlo.NextPrice nextPrice,
	MonteCarlo.NextVolatility nextVolatility
)

Parameters

nextPrice
Type: FinMath.Derivatives.MonteCarlo.NextPrice
Next price function.
nextVolatility
Type: FinMath.Derivatives.MonteCarlo.NextVolatility
Next volatility function. If volatility is constant nextVolatility should be null.
See Also