ClassOddLPrice
Calculates the price per $100 face value 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 OddLPrice : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionOddLPrice
Inherited Members
Constructors
OddLPrice()
Initializes a new ODDLPRICE function instance for pricing securities with irregular last coupon periods.
Declaration
public OddLPrice()
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 price using settlement, maturity, last interest dates, rate, yield, 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