create parametercurve object for storing interest-凯发k8网页登录
create parametercurve
object for storing interest-rate curve
function
since r2020a
description
build a parametercurve
object using
parametercurve
.
after creating a parametercurve
object, you can use the associated
object functions , ,
,
, and
.
for more detailed information on this workflow, see .
for more information on the available instruments, models, and pricing methods, see .
creation
syntax
description
creates a parametercurve_obj
= parametercurve(type
,settle
,functionhandle
)parametercurve
object.
sets properties using
name-value pairs and any of the arguments in the previous syntax. for
example, parametercurve_obj
= parametercurve(___,name,value
)parametercurve_obj =
parametercurve('zero',datetime(2017,1,30),@(t)polyval([-0.0001 0.003
0.02],t),'compounding',4,'basis',5,'parameters',[-0.0001 0.003
0.02])
creates a parametercurve
object for
a zero curve. you can specify multiple name-value pair arguments.
input arguments
properties
object functions
calculate discount factors for parametercurve object | |
calculate zero rates for parametercurve object | |
calculate forward rates for parametercurve object | |
fit nelson-siegel model to bond market data | |
fit svensson model to bond market data |