Click or drag to resize

OptionValuationUpdateByOptionPrice Method (Double, Double, Double, Double)

Updates option parameters.

Namespace:  FinMath.Derivatives
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public void UpdateByOptionPrice(
	double stockPrice,
	double strikePrice,
	double timeToMaturity,
	double optionPrice
)

Parameters

stockPrice
Type: SystemDouble
Stock price of the underlying asset.
strikePrice
Type: SystemDouble
Strike price of the undelying asset.
timeToMaturity
Type: SystemDouble
Time to the expiration date measured in years.
optionPrice
Type: SystemDouble
Option price.
See Also