Click or drag to resize

BlackScholes Constructor (OptionValuationModelOutputs, Int32)

Constructor that defines which greeks should be saved for fast recomputation. Note that at each query for any of saveable greeks all of them will be computed if needed.

Namespace:  FinMath.Derivatives
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public BlackScholes(
	OptionValuationModelOutputs saveableValues,
	int allowedDataSets
)

Parameters

saveableValues
Type: FinMath.DerivativesOptionValuationModelOutputs
Indicates values saveable for fast recomputing. Use and for saving Normal.Cdf(±d1) and Normal.Cdf(±d2) correspondingly.
allowedDataSets
Type: SystemInt32
Maximum number of data sets allowed to be memorized.
See Also