MortgageEffectiveMeasures: A function to calculate mortgage effective duration and...

Description Usage Arguments

View source: R/MortgageEffectiveMeasures.R

Description

A function to calculate mortgage effective duration and convexity

Usage

1
2
3
4
5
6
7
MortgageEffectiveMeasures(
  bond.id = "character",
  settlement.date = "character",
  rates.data = "character",
  TermStructure = "character",
  price = "character"
)

Arguments

bond.id

A character string referencing an object of type bond.id

settlement.date

A character string the settlement date

rates.data

A character string referencing and object rates

TermStructure

A character string referencing an object of type TermStructure

price

A character the price of the MBS. Price may be entered in decimal notation or 32nds notation


glennmschultz/BondLab documentation built on May 11, 2021, 5:29 p.m.