Description Usage Arguments See Also
View source: R/SpreadToPriceFunctions.R
Returns the clean price of the MBS given a prepayment speed and spread to the curve
| 1 2 3 4 5 6 7 8 9 10 | SpreadToPriceMBS(
  bond.id,
  rates.data,
  settlement.date,
  prepayment.assumption,
  spread,
  benchmark = NULL,
  ...,
  CPR = NULL
)
 | 
| bond.id | A character string the cusip number or bond.id | 
| rates.data | A character referencing a rates.data object | 
| settlement.date | A character string the settlement date mm-dd-YYYY | 
| prepayment.assumption | A character string referencing an object of Prepayment | 
| spread | A charcter string the spread to the interpolated curve entered in basis points | 
| benchmark | Optionally the user can pass pricing benchmark - currently this functonality is not implemented. | 
| ... | Optional values follow | 
| CPR | A numeric value the CPR assumption used to price the MBS. For example 16 CPR is entered 16. | 
Other Pricing: 
BenchMark,CurveSpreads-method,
BillPriceToYield(),
BillYieldToPrice(),
CurveSpreads-class,
CurveSpreads,
SpreadToBenchmark,CurveSpreads-method,
SpreadToCurve,CurveSpreads-method,
SpreadToPriceBond(),
ZVSpreadToPriceBond(),
ZVSpreadToPriceMBS(),
ZeroVolSpread,CurveSpreads-method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.