主要内容

Langefloatbybdt

价格范围浮动笔记使用黑德曼车队

描述

example

[价格,价格Tree] = LandfloatbyBdt(bdttree,传播,Settle,到期,速度Sched)prices range floating note using a Black-Derman-Toy tree.

Payments on range floating notes are determined by the effective interest-rate between reset dates. If the reset period for a range spans more than one tree level, calculating the payment becomes impossible due to the recombining nature of the tree. That is, the tree path connecting the two consecutive reset dates cannot be uniquely determined because there is more than one possible path for connecting the two payment dates.

example

[价格,价格Tree] = LandfloatbyBdt(___,名称,价值)添加可选的名称值对参数。

例子

全部收缩

This example shows how to compute the price of a range note using a Black-Derman-Toy tree with the following interest-rate term structure data.

费率= [0.035;0.042147;0.047345;0.052707];估值日期='1月1日至2011年';startdates =估价日期;endDates = {'1月1日至2012年;“ 2013年1月1日”;“ 2014年1月1日”;“ 2015年1月1日”};Compounding = 1;% define RateSpecRS = intenvset(“评估日期”, ValuationDate,“开始日”,起点,...'端', EndDates,“费率”,费率,“复合”, Compounding);%范围注释仪器在2014年1月1日成熟,并具有以下费率:点= 100;定居='1月1日至2011年';到期=“ 2014年1月1日”;RateSched(1)。Dates = {'1月1日至2012年;“ 2013年1月1日”;“ 2014年1月1日”};费率(1).Rates = [0.045 0.055;0.0525 0.0675;0.06 0.08];构建树的数据的%如下:% assume the volatility is 10%.Sigma = 0.1; BDTTS = bdttimespec(ValuationDate, EndDates, Compounding); BDTVS = bdtvolspec(ValuationDate, EndDates, Sigma*ones(1, length(EndDates))'); BDTT = bdttree(BDTVS, RS, BDTTS);仪器的价格%价格= rangefloatbybdt(BDTT, Spread, Settle, Maturity, RateSched)
价格= 97.5267

输入参数

全部收缩

Interest-rate tree structure, specified by usingbdttree.

数据类型:结构

基于参考率的基点数,指定为Ninst-经过-1向量。

数据类型:双倍的

Settlement date for the floating range note, specified as aNinst-经过-1串行日期数或日期字符向量的向量。TheSettledate for every range floating instrument is set to the评估日期of the BDT tree. The floating range note argumentSettleis ignored.

数据类型:双倍的|char|细胞

浮动率笔记的成熟日期,指定为Ninst-经过-1串行日期数或日期字符向量的向量。

数据类型:双倍的|char|细胞

现金流量非零的利率范围,指定为Ninst-经过-1vector of structures. Each element of the structure array contains two fields:

  • 费用ndates-经过-1与范围时间表相对应的日期阵列。

  • 费率ndates-经过-2带有第一列的阵列包含范围的下限,第二列包含范围的上限。现金流费用(n)在该范围内的利率非零费率(n,1) <速度<费率(n,2)。

数据类型:结构

Name-Value Arguments

将可选的参数对Name1=Value1,...,NameN=ValueN, 在哪里Nameis the argument name and价值是相应的值。名称值参数必须在其他参数之后出现,但是对的顺序并不重要。

Before R2021a, use commas to separate each name and value, and encloseNamein quotes.

例子:[PRICE,PRICETREE] = LandfloatbyBdt(Bdttree,差,定居点,成熟度,费率,“重置”,4,“基础”,5,“校长”,10000)

Frequency of payments per year, specified as the comma-separated pair consisting of'重启'Ninst-经过-1向量。

数据类型:双倍的

日常计数代表年化输入远期率树时使用的基础,该树指定为逗号分隔对'基础'Ninst-经过-1vector of integers.

  • 0 = actual/actual

  • 1 = 30/360 (SIA)

  • 2 =实际/360

  • 3 = actual/365

  • 4 = 30/360(PSA)

  • 5 = 30/360 (ISDA)

  • 6 = 30/360 (European)

  • 7 =实际/365(日语)

  • 8 = actual/actual (ICMA)

  • 9 =实际/360(ICMA)

  • 10 =实际/365(ICMA)

  • 11 = 30/360E(ICMA)

  • 12 = actual/365 (ISDA)

  • 13 =巴士/252

有关更多信息,请参阅基础.

数据类型:双倍的

Notional principal amount, specified as the comma-separated pair consisting of'Principal'Ninst-经过-1向量。

数据类型:双倍的

衍生品定价选项结构, specified as the comma-separated pair consisting of'选项'以及通过使用的结构派生.

数据类型:结构

End-of-month rule flag, specified as the comma-separated pair consisting of'EndMonthRule'以及一个价值的非负整数0或者1using aNinst-经过-1向量。

  • 0=忽略规则,这意味着付款日期始终是每月相同的数值日。

  • 1=设置规则,这意味着付款日期始终是本月的最后一天。

数据类型:logical

Output Arguments

全部收缩

时间0时的范围浮动笔记的预期价格,返回Ninst-经过-1向量。

仪器价格的树木结构,作为包含仪器价格媒介和应计利息的矢量树的结构,以及每个节点的观察时间的矢量。值为:

  • 价格Tree.PTreecontains the clean prices.

  • Pricetree.Aitreecontains the accrued interest.

  • 价格Tree.tObscontains the observation times.

More About

全部收缩

Range Note

Arange noteis a structured (market-linked) security whose coupon rate is equal to the reference rate as long as the reference rate is within a certain range.

If the reference rate is outside of the range, the coupon rate is 0 for that period. This type of instrument entitles the holder to cash flows that depend on the level of some reference interest rate and are floored to be positive. The note holder gets direct exposure to the reference rate. In return for the drawback that no interest is paid for the time the range is left, they offer higher coupon rates than comparable standard products, like vanilla floating notes. For more information, seeRange Note.

参考

[1]贾罗,罗伯特。“对固定收益证券和利率期权进行建模。”斯坦福大学经济学和金融。第二版。2002。

Version History

在R2012a中引入