parametercurve
创造parametercurve
存储利率曲线功能的对象
Description
建个parametercurve
object usingparametercurve
.
After creating aparametercurve
对象,您可以使用关联的对象功能折现factors
,zerorates
,向前
,fitNelsonSiegel
, 和fitSvensson
.
For more detailed information on this workflow, seeGet Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available instruments, models, and pricing methods, seeChoose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates aparametercurve_obj
= parametercurve(类型
,Settle
,FunctionHandle
)parametercurve
目的。
sets特性使用上一个语法中的名称值对和任何参数。例如,parametercurve_obj
= parametercurve(___,Name,Value
)parametercurve_obj = parameterCurve('Zero',datetime(2017,1,30),@(t)polyval([ - [-0.0001 0.003 0.003 0.02],t),'复合',4,'basis','basis',5,'parameters',[-0.0001 0.003 0.02])
creates aparametercurve
object for a zero curve. You can specify multiple name-value pair arguments.
Input Arguments
Properties
Object Functions
折现factors |
计算折现因子parametercurve object |
zerorates |
计算零率parametercurve object |
向前 |
Calculate forward rates forparametercurve object |
fitNelsonSiegel |
Fit Nelson-Siegel model to bond market data |
fitSvensson |
Fit Svensson model to bond market data |