Click or drag to resize

Black Class

The Greeks values calculating model by the Black formula.
Inheritance Hierarchy

Namespace:  StockSharp.Algo.Derivatives
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class Black : BlackScholes

The Black type exposes the following members.

Constructors
  NameDescription
Public methodBlack(Security, ISecurityProvider, IMarketDataProvider)
Initializes a new instance of the Black.
Public methodBlack(Security, Security, IMarketDataProvider)
Initializes a new instance of the Black.
Top
Properties
  NameDescription
Public propertyDataProvider
The market data provider.
(Inherited from BlackScholes.)
Public propertyDefaultDeviation
The standard deviation by default.
(Inherited from BlackScholes.)
Public propertyDividend
The dividend amount on shares.
(Overrides BlackScholesDividend.)
Public propertyOption
Options contract.
(Inherited from BlackScholes.)
Protected propertyOptionType
Option type.
(Inherited from BlackScholes.)
Public propertyRiskFree
The risk free interest rate.
(Inherited from BlackScholes.)
Public propertyRoundDecimals
The number of decimal places at calculated values. The default is -1, which means no values rounding.
(Inherited from BlackScholes.)
Public propertySecurityProvider
The provider of information about instruments.
(Inherited from BlackScholes.)
Public propertyUnderlyingAsset
Underlying asset.
(Inherited from BlackScholes.)
Top
Methods
  NameDescription
Protected methodD1
To calculate the d1 parameter of the option fulfilment probability estimating.
(Overrides BlackScholesD1(Decimal, Decimal, Double).)
Public methodDelta
To calculate the option delta.
(Overrides BlackScholesDelta(DateTimeOffset, NullableDecimal, NullableDecimal).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGamma
To calculate the option gamma.
(Overrides BlackScholesGamma(DateTimeOffset, NullableDecimal, NullableDecimal).)
Public methodGetAssetPrice
To get the price of the underlying asset.
(Inherited from BlackScholes.)
Public methodGetExpirationTimeLine
The time before expiration calculation.
(Inherited from BlackScholes.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImpliedVolatility(DateTimeOffset)
To create the order book of volatility.
(Inherited from BlackScholes.)
Public methodImpliedVolatility(DateTimeOffset, Decimal)
To calculate the implied volatility.
(Inherited from BlackScholes.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPremium
To calculate the option premium.
(Overrides BlackScholesPremium(DateTimeOffset, NullableDecimal, NullableDecimal).)
Public methodRho
To calculate the option rho.
(Overrides BlackScholesRho(DateTimeOffset, NullableDecimal, NullableDecimal).)
Public methodTheta
To calculate the option theta.
(Overrides BlackScholesTheta(DateTimeOffset, NullableDecimal, NullableDecimal).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryRound
To round to RoundDecimals.
(Inherited from BlackScholes.)
Public methodVega
To calculate the option vega.
(Overrides BlackScholesVega(DateTimeOffset, NullableDecimal, NullableDecimal).)
Top
See Also