主要内容

债券价格与收益率曲线非平行移位

这个例子展示了如何构建一个债券投资组合来对冲20年期国债的利率风险。关键利率久期使您能够确定债券价格对收益率曲线非平行变化的敏感性。这个例子使用了bndkrdur建立一个投资组合来对冲20年期美国国债的利率风险。

指定绑定。

Settle = datetime(2008,12,2);CouponRate = 5.500/100;成熟度= datetime(2028,8,15);价格= 128.68;

该债券的利率风险由以下四种正在发行的美国国债对冲:

Maturity_30 = datetime(2038,5,15);% 30年期债券Coupon_30 = .045;Price_30 = 124.69;Maturity_10 = datetime(2018,11,15);% 10年期Coupon_10 = .0375;Price_10 = 109.35;Maturity_05 = datetime(2013,11,30);% 5年期票据Coupon_05 = .02;Price_05 = 101.67;Maturity_02 = datetime(2010,11,30);% 2年期债券Coupon_02 = .01250;Price_02 = 100.72;

你可以从国债现货或零曲线https://www.treas.gov/offices/domestic-finance/debt-management/interest-rate/yield.shtml

ZeroDates = daysadd(确定,[30 90 180 360 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.71 2.13 2.72 3.51 3.22]/100)';

计算债券和对冲投资组合的关键利率期限。

BondKRD = bndkrdur(table(ZeroDates, ZeroRates), CouponRate, Settle,...成熟,“keyrates”,[2 5 10 20]);HedgeMaturity = [Maturity_02;Maturity_05;Maturity_10;Maturity_30];HedgeCoupon = [Coupon_02;Coupon_05;Coupon_10;Coupon_30];HedgeKRD = bndkrdur(table(ZeroDates, ZeroRates), HedgeCoupon,...HedgeMaturity定居,“keyrates”,[2 5 10 20])
HedgeKRD =4×41.9675 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*Price* BondKRD;HedgeDD = HedgeKRD.*[Price_30;Price_10;Price_05;Price_02]
HedgeDD =4×4103.× 0.2453 0 0 0 0.0139 0.5047 0 0 0.0216 0.0745 0.7525 0 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年期现货利率中性的投资组合。

另请参阅

||||||||||

相关的话题