Description Usage Arguments See Also
View source: R/SpreadToPriceFunctions.R
returns the clean price of a bond via PriceTypes object given a spread to the spot rate curve. Market convention is to quote spread to a the spot rate curve in basis points. Bond Lab follows the market convection. The user specified spread to the benchmark in basis points.
1 | ZVSpreadToPriceBond(bond.id, settlement.date, term.structure, ZV.spread)
|
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 a term structure object |
ZV.spread |
a character the spread to the spot rate curve quoted in basis points |
Other Pricing:
BenchMark,CurveSpreads-method
,
BillPriceToYield()
,
BillYieldToPrice()
,
CurveSpreads-class
,
CurveSpreads
,
SpreadToBenchmark,CurveSpreads-method
,
SpreadToCurve,CurveSpreads-method
,
SpreadToPriceBond()
,
SpreadToPriceMBS()
,
ZVSpreadToPriceMBS()
,
ZeroVolSpread,CurveSpreads-method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.