Description Usage Arguments See Also
View source: R/SpreadToPriceFunctions.R
Returns the clean price of an MBS pass throughv via PriceTypes object given a spread to the spot rate curve. Market convention is to quote spread to the spot rate curve in basis points. Bond Lab follows the market convection. The user specified spread to the benchmark in basis points.
1 2 3 4 5 6 7 8 9 | ZVSpreadToPriceMBS(
bond.id,
settlement.date,
term.structure,
prepayment.assumption,
ZV.spread,
...,
CPR = NULL
)
|
bond.id |
a character or connection to object of type BondDetails |
settlement.date |
a character the settlement date 'mm-dd-yyyy' |
term.structure |
a character string referencing an object of type rates data |
prepayment.assumption |
a character string referencing an object of type Prepayment |
ZV.spread |
a character the spread to the spot rate curve quoted in basis points |
..., |
optional values follow |
CPR |
The user may specify a CPR to over riding the prepayment model |
Other Pricing:
BenchMark,CurveSpreads-method
,
BillPriceToYield()
,
BillYieldToPrice()
,
CurveSpreads-class
,
CurveSpreads
,
SpreadToBenchmark,CurveSpreads-method
,
SpreadToCurve,CurveSpreads-method
,
SpreadToPriceBond()
,
SpreadToPriceMBS()
,
ZVSpreadToPriceBond()
,
ZeroVolSpread,CurveSpreads-method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.