IMSL Mathematics Reference Guide > Special Functions > PRICE_PERIODIC Function (PV-WAVE Advantage)
  

PRICE_PERIODIC Function (PV-WAVE Advantage)
Evaluates the price, per $100 face value, of a security that pays periodic interest.
Usage
result = PRICE_PERIODIC(settlement, maturity, rate, yield, redemption, frequency, basis)
Input Parameters
settlement—The date on which payment is made to settle a trade. For a more detailed discussion on dates see Chapter 8, Working with Date/Time Data in the PV‑WAVE User’s Guide.
maturity—The date on which the bond comes due, and principal and accrued interest are paid.
rate—Annual interest rate set forth on the face of the security; the coupon rate.
yield—Annual yield of the security.
redemption—Redemption value per $100 face value of the security.
frequency—Frequency of the interest payments. It should be 1, 2, or 4.
*1—One payment per year (Annual payment)
*2—Two payments per year (Semi-annual payment)
*4—Four payments per year (Quarterly payment)
basis—The method for computing the number of days between two dates. It should be 0, 1, 2, 3, or 4.
*0—Actual/Actual
*1—US (NASD) 30/360
*2—Actual/360
*3—Actual/365
*4—European 30/360
Returned Value
result—The price per $100 face value of a security that pays periodic interest. If no result can be computed, NaN is returned.
Input Keywords
Double—If present and nonzero, double precision is used.
Discussion
Function PRICE_PERIODIC computes the price per $100 face value of a security that pays periodic interest.
It is computed using the following:
In the above equation, DSC represents the number of days in the period starting with the settlement date and ending with the next coupon date. E represents the number of days within the coupon period. N represents the number of coupons payable in the timeframe from the settlement date to the redemption date. A represents the number of days in the timeframe starting with the beginning of coupon period and ending with the settlement date.
Example
In this example, PRICE_PERIODIC computes the price of a bond that pays coupon every six months with the settlement of July 1, 1995, the maturity date of July 1, 2005, a annual rate of 6%, annual yield of 7% and redemption value of $105 using the US (NASD) 30/360 day count method.
settlement = VAR_TO_DT(1995, 7, 1)
maturity = VAR_TO_DT(2005, 7, 1)
rate = .06
yield = .07
redemption = 105.
frequency = 2
basis = 1
PRINT, PRICE_PERIODIC(settlement, maturity, rate, yield, $
   redemption, frequency, basis)
; PV-WAVE prints: 95.4067

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.