Click or drag to resize

FixedIncomePrice Method (DateTime, DateTime, Double, Double, Double, YieldFrequency, YieldBasis)

Returns the price per $100 face value of a security that pays periodic interest.

Namespace:  FinMath.PerformanceAnalysis
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static double Price(
	DateTime settlement,
	DateTime maturity,
	double rate,
	double yield,
	double redemption,
	YieldFrequency frequency,
	YieldBasis basis
)

Parameters

settlement
Type: SystemDateTime
The security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.
maturity
Type: SystemDateTime
The security's maturity date. The maturity date is the date when the security expires.
rate
Type: SystemDouble
The security's annual coupon rate.
yield
Type: SystemDouble
The security's annual yield.
redemption
Type: SystemDouble
The security's redemption value per $100 face value.
frequency
Type: FinMath.PerformanceAnalysisYieldFrequency
The number of coupon payments per year.
basis
Type: FinMath.PerformanceAnalysisYieldBasis
The type of day count basis to use.

Return Value

Type: Double
The price value.
See Also