Click or drag to resize

DerivativesHelperRho Method

To calculate the option rho.

Namespace:  StockSharp.Algo.Derivatives
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static decimal Rho(
	OptionTypes optionType,
	decimal strike,
	decimal assetPrice,
	decimal riskFree,
	decimal deviation,
	double timeToExp,
	double d1
)

Parameters

optionType
Type: StockSharp.MessagesOptionTypes
Option type.
strike
Type: SystemDecimal
The strike price.
assetPrice
Type: SystemDecimal
Underlying asset price.
riskFree
Type: SystemDecimal
The risk free interest rate.
deviation
Type: SystemDecimal
Standard deviation.
timeToExp
Type: SystemDouble
The option period before the expiration.
d1
Type: SystemDouble
The d1 parameter of the option fulfilment probability estimating.

Return Value

Type: Decimal
Option rho.
See Also