主要内容

债券价格和产量曲线非平行转移

该示例显示了如何构建债券投资组合以对冲20年来纪念债券的利率风险。关键率持续时间使您能够确定债券价格对收益曲线中非平行移位的敏感性。此示例使用Bndkrdur建立一个投资组合来对冲20年来美国国库券债券的利率风险。

指定债券。

Settle = DateTime(2008,12,2);优惠率= 5.500/100;成熟度= DateTime(2028,8,15);价格= 128.68;

该债券的利率风险与以下四个在线国库券相对冲:

Maturity_30 = DateTime(2038,5,15);%30年债券优惠券_30 = .045;Price_30 = 124.69;Maturity_10 = DateTime(2018,11,15);%10年注释优惠券_10 = .0375;Price_10 = 109.35;Maturity_05 = DateTime(2013,11,30);%5年注释优惠券_05 = .02;Price_05 = 101.67;Maturity_02 = DateTime(2010,11,30);%2年注释优惠券_02 = .01250;Price_02 = 100.72;

您可以从中获得财政部或零曲线https://www.treas.gov/offices/domestic-finance/debt-management/interest-rate/yield.shtml

zerodates = daysadd(setter,[30 90 180 360 360*2 360*3 360*5...360*7 360*10 360*20 360*30]);Zerorates =([0.09 0.07 0.44 0.81 0.90 1.16 1.16 1.71 2.13 2.72 3.51 3.51 3.22]/100)';

计算债券和对冲投资组合的关键费率持续时间。

bondkrd = bndkrdur(表(Zerodates,Zerorates),票方,固定...到期,“钥匙率”,[2 5 10 20]);hedgematurity = [Maturity_02; Maturity_05; Maturity_10; Maturity_30];hedgecoupon = [Coupon_02; Coupon_05; Coupon_10; Coupon_30];hedgekrd = bndkrdur(表(Zerodates,Zerorates),HedgeCoupon,...定居,避免性,“钥匙率”,[2 5 10 20])
hedgekrd =4×41.9675 0 0 0 0 0.1269 4.6152 0 0 0.2129 0.7324 7.4010 0 0.2229 0.7081 2.1487 14.5172

计算每种仪器和每个关键利率的美元持续时间(假设持有100个债券)。

portfoliodd = 100*价格* Bondkrd;hedgedd = hedgekrd。
hedgedd =4×4103×0.2453 0 0 0 0 0.0139 0.5047 0 0 0.0216 0.0745 0.7525 0 0.0224 0.0224 0.0713 0.2164 1.4622

计算出售债券的数量,以获得关键费率持续时间0对于整个投资组合。

numbonds = portfoliodd/hedgedd
numbonds =1×43.8973 6.1596 23.0282 80.0522

这些结果表明,2年,5年,10年和30年的债券分别出售4、6、23和80的债券,达到了相对于2-,5-,10-和30的中立的投资组合。- 年级率。

也可以看看

||||||||||

相关话题