pricingQtrlyCpnBond {bondAnalyst} R Documentation

## Calculates Present Value or the Price of the Bond paying Quarterly Coupons.

### Description

Calculates Present Value or the Price of the Bond paying Quarterly Coupons.

### Usage

pricingQtrlyCpnBond(qCoupons, times, mv, n, r)


### Arguments

 qCoupons A vector. times A vector. mv A number. n A number. r A number.

### Details

The method pricingQtrlyCpnBond() is developed to compute the Price of Bond making quarterly Coupon Payments. So, pricingQtrlyCpnBond() gives the Price of Bond making quarterly Coupon Payments for values passed to its five arguments. Here, qCoupons represents the dollar values of all the quarterly coupon payments till maturity, times is a vector of number of years ranging from 1 to any specified number of quarterly periods till maturity, that is from 1 to times(n * 4), mv is Maturity Value, n is number of years till maturity, and r is annual Market Discount Rate or Required Rate of return. The output is rounded off to two decimal places. The given examples show various ways in which the arguments can be passed to pricingQtrlyCpnBond().

### Value

Input values to five arguments qCoupons , times, mv,n and r.

### Author(s)

MaheshP Kumar, maheshparamjitkumar@gmail.com

### References

Adams,J.F. & Smith,D.J.(2019). Introduction to fixed-income valuation. In CFA Program Curriculum 2020 Level I Volumes 1-6. (Vol. 5, pp. 107-151). Wiley Professional Development (P&T). ISBN 9781119593577, https://bookshelf.vitalsource.com/books/9781119593577

### Examples

pricingQtrlyCpnBond(qCoupons=c(2,2,2,2,2,2,2,2), times=c(1,2,3,4,5,6,7,8) ,mv=100,n=2,r=0.06)
pricingQtrlyCpnBond(qCoupons=c(2,2,2,2,2,2,2,2), times=c(1:8) ,mv=100,n=2,r=0.06)
pricingQtrlyCpnBond(qCoupons=c(rep(2,8)), times=c(1:8) ,mv=100,n=2,r=0.06)
pricingQtrlyCpnBond(c(rep(2,8)), c(1:8) ,100,2,0.06)


[Package bondAnalyst version 1.0.1 Index]