New to Telerik Document ProcessingStart a free 30-day trial

Calculates the price per $100 face value of a security with an odd (short or long) first coupon period.

Definition

Constructors

Initializes a new ODDFPRICE function instance for pricing securities with irregular first coupon periods.

C#
public OddFPrice()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the security price using settlement, maturity, issue, first coupon dates, rate, yield, 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