ClassOddFPrice
Calculates the price per $100 face value of a security with an odd (short or long) first coupon period.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class OddFPrice : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionOddFPrice
Inherited Members
Constructors
OddFPrice()
Initializes a new ODDFPRICE function instance for pricing securities with irregular first coupon periods.
Declaration
public OddFPrice()
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, issue, first coupon 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