ClassOddLYield
Calculates the yield of a security with an odd (short or long) last coupon period.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class OddLYield : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionOddLYield
Inherited Members
Constructors
OddLYield()
Initializes a new ODDLYIELD function instance for calculating yields on securities with irregular last coupon periods.
Declaration
public OddLYield()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Controls how arguments are converted before evaluation, excluding boolean conversions.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
Metadata describing this function's signature, category, and arguments.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the security yield using settlement, maturity, last interest dates, rate, price, redemption, frequency, and optional basis, returning the result or an error expression.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides