Yield
Implements the YIELD financial function, which calculates the annual yield for a security with periodic interest payments.
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Yield : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionYield...
Inherited Members
Constructors
Initializes a new YIELD function instance for calculating annual yield on securities with periodic coupon payments.
public Yield()
Fields
The name of the function.
public static readonly string FunctionName
Properties
Specifies the conversion rules applied to function arguments, excluding boolean-to-number conversions for financial calculations.
public override ArgumentConversionRules ArgumentConversionRules { get; }
The argument conversion rules as ArgumentConversionRules.
Overrides:
Provides metadata describing the function's category, arguments, and help documentation.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides:
Methods
Evaluates the YIELD function using the provided settlement date, maturity, coupon rate, price, redemption value, frequency, and optional basis, returning the annual yield as a numeric expression or an error.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides: