Click or drag to resize

BlackScholes Class

Implementation of Black-Scholes options pricing model
Inheritance Hierarchy
SystemObject
  FinMath.DerivativesOptionValuation
    FinMath.DerivativesBlackScholes

Namespace:  FinMath.Derivatives
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public class BlackScholes : OptionValuation

The BlackScholes type exposes the following members.

Constructors
  NameDescription
Public methodBlackScholes
Constructor without parameters. Acceleration is disabled.
Public methodBlackScholes(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.
Public methodBlackScholes(OptionValuationModelInputs, OptionValuationModelOutputs, Int32)
Enables advanced acceleration mode for specified option properties.
Top
Properties
  NameDescription
Public propertyCharm
Charm, or delta decay, measures the instantaneous rate of change of delta over the passage of time.
(Inherited from OptionValuation.)
Public propertyColor
Color, or gamma decay, measures the rate of change of gamma over the passage of time.
(Inherited from OptionValuation.)
Public propertyDelta
Delta measures the rate of change of option value with respect to changes in the underlying asset's price.
(Inherited from OptionValuation.)
Public propertyGamma
Gamma measures the rate of change in the delta with respect to changes in the underlying price.
(Inherited from OptionValuation.)
Public propertyOptionStyle
Option style.
(Inherited from OptionValuation.)
Public propertyOptionType
Type of option.
(Inherited from OptionValuation.)
Public propertyRho
Rho, the derivative of the option value with respect to the risk free rate.
(Inherited from OptionValuation.)
Public propertySpeed
Speed measures the rate of change in Gamma with respect to changes in the underlying price.
(Inherited from OptionValuation.)
Public propertyStockPrice
Stock price of the underlying asset.
(Inherited from OptionValuation.)
Public propertyStrikePrice
Strike price of the underlying asset.
(Inherited from OptionValuation.)
Public propertyTheta
Theta measures the sensitivity of the value of the derivative to the passage of time: the "time decay".
(Inherited from OptionValuation.)
Public propertyTimeToMaturity
Time to the expiration date measured in years.
(Inherited from OptionValuation.)
Public propertyValue
Value of the option.
(Inherited from OptionValuation.)
Public propertyVanna
Vanna, the second derivative of the option value with respect to the volatility.
(Inherited from OptionValuation.)
Public propertyVega
Vega, the derivative of the option value with respect to the volatility of the underlying asset.
(Inherited from OptionValuation.)
Public propertyVolatility
Volatility of the underlying asset.
(Inherited from OptionValuation.)
Public propertyZomma
Zomma measures the rate of change of gamma with respect to changes in volatility.
(Inherited from OptionValuation.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetAnnualDividendYield
Get annual dividend yield.
(Inherited from OptionValuation.)
Public methodStatic memberGetCallDelta
Computes call option delta.
Public methodStatic memberGetCallValue
Computes call option value.
Public methodStatic memberGetCharm
Computes the option charm.
Public methodStatic memberGetColor
Computes the option color.
Public methodStatic memberGetDelta
Computes option delta.
Public methodStatic memberGetGamma
Computes the option gamma.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetPutDelta
Computes put option delta.
Public methodStatic memberGetPutValue
Computes put option value.
Public methodStatic memberGetRho
Computes the option rho.
Public methodGetRiskFreeRate
Get risk-free interest rate.
(Inherited from OptionValuation.)
Public methodStatic memberGetSpeed
Computes the option speed.
Public methodStatic memberGetTheta
Computes the option theta.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetValue
Computes option value.
Public methodStatic memberGetVanna
Computes the option vanna.
Public methodStatic memberGetVega
Computes the option vega.
Public methodStatic memberGetZomma
Computes the option zomma.
Public methodStatic memberImpliedVolatility
Computes implied underlying asset volatility.
Public methodInitByOptionPrice
Initializes object by option parameters.
Public methodInitByVolatility
Initializes object by option parameters.
Public methodSetAccelerationGranularity
Sets acceleration granularity. Clears all computed values.
(Inherited from OptionValuation.)
Public methodSetAccelerationMemoryUsage
Changes acceleration RAM usage. Clears all computed values.
Public methodSetAnnualDividendYield
Set annual dividend yield (e.g. value 0.02 means that yearly dividends income equals to 2 % of the underlying asset stock price). All computed values are forgotten after this change.
(Inherited from OptionValuation.)
Public methodSetRiskFreeRate
Set risk-free interest rate (e.g. value 0.02 means that yearly risk-free income equals to 2 % of initial money amount if there is no capitalization of interest). All computed values are forgotten after this change.
(Inherited from OptionValuation.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates option parameters.
(Inherited from OptionValuation.)
Public methodUpdateByOptionPrice(Double, Double)
Updates option parameters.
(Inherited from OptionValuation.)
Public methodUpdateByOptionPrice(Double, Double, Double)
Updates option parameters.
(Inherited from OptionValuation.)
Public methodUpdateByOptionPrice(Double, Double, Double, Double)
Updates option parameters.
(Inherited from OptionValuation.)
Public methodUpdateByVolatility(Double, Double)
Updates option parameters.
(Inherited from OptionValuation.)
Public methodUpdateByVolatility(Double, Double, Double)
Updates option parameters.
(Inherited from OptionValuation.)
Public methodUpdateByVolatility(Double, Double, Double, Double)
Updates option parameters.
(Inherited from OptionValuation.)
Top
See Also