WebCab Bonds for Delphi (COM)

TreasuryPrice.ZeroTBondPriceWithExplicitTime Method 

This method returns the price of a zero-coupon Treasury bond.

public double ZeroTBondPriceWithExplicitTime(
   double principle,
   double riskFreeRate,
   double time2Maturity
);

Parameters

principle
The amount which is repaid at maturity of the bond.
riskFreeRate
The risk free interest rate in the local currency expressed in decimal format (i.e. 1 percent = 0.01).
time2Maturity
The time in years (in decimal format) until the bond matures.

See Also

TreasuryPrice Class | WebCab.COM.Finance.Bonds Namespace