New to Telerik Document ProcessingStart a free 30-day trial

Calculates the yield of a security with an odd (short or long) first coupon period.

Definition

Constructors

Initializes a new ODDFYIELD function instance for calculating yields on securities with irregular first coupon periods.

C#
public OddFYield()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the security yield using settlement, maturity, issue, first coupon dates, rate, price, redemption, frequency, and optional basis, returning the result or an error expression.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters:contextFunctionEvaluationContext<double>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)

Properties

Controls how arguments are converted before evaluation, excluding boolean conversions.

C#
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value:

The argument conversion rules as ArgumentConversionRules.

Overrides: NumbersInFunction.ArgumentConversionRules

Metadata describing this function's signature, category, and arguments.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

The function name used in formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name