# Bond Portfolio Valuation with MATLAB
Bond Portfolio Valuation and Sensitivities
This code valuates a bond portfolio given a spot continues compounding curve.
It calculates the Yield to Maturity of portfolio.
It calculates the sensitivity factors of a portfolio.
Every information about Bond Portfolio is saved in a struct called BonPortfolio. Struct is a specific kind of data stucture used in MATLAB to save anything you want in there.
Yield to Maturity (YtM): Yield to maturity is the total return anticipated on a bond if the bond is held until it matures. Yield to maturity is considered a long-term bond yield but is expressed as an annual rate. In other words, it is the internal rate of return (IRR) of an investment in a bond if the investor holds the bond until maturity, with all payments made as scheduled and reinvested at the same rate. (https://www.investopedia.com/terms/y/yieldtomaturity.asp)
Fixed Income Sensitivities: Fixed-income investments are very sensitive to interest rate changes. A bond's duration reflects changes in the bond's price for each 1% fluctuation of the interest rate. For example, a bond with a duration of 4 means the bond price decreases/increases 4% for every 1% increase/decrease in interest rate. A bond with a long maturity and low coupon has a longer duration and therefore is more sensitive to rate fluctuations. Meanwhile, a bond's convexity is a measure of the curvature, or the degree of the curve, in the relationship between bond prices and bond yields. Convexity demonstrates the sensitivity of the duration of a bond changes as the interest rate changes. Portfolio managers will use convexity as a risk-management tool, to measure and manage the portfolio's exposure to interest rate risk. Buying a bond at a low-interest rate means the bond will be less valuable when rates rise and other bond yields are higher. This is simply because fixed-income investors will buy the higher-yielding bond, all else equal. Assets that are considered fixed income-like such as utility stocks and preferred stocks are two examples of rate-sensitive assets. (https://www.investopedia.com/terms/s/sensitivity.asp)
没有合适的资源?快使用搜索试试~ 我知道了~
matlab物价的波动代码-BondPortfolioValuation:债券投资组合的估值和敏感性
共9个文件
m:8个
md:1个
需积分: 12 2 下载量 106 浏览量
2021-05-28
14:32:33
上传
评论
收藏 5KB ZIP 举报
温馨提示
matlab物价的波动代码使用MATLAB进行债券投资组合评估 债券投资组合的估值和敏感性 给定即期连续复利曲线,此代码评估债券投资组合。 它计算投资组合的到期收益率。 它计算投资组合的敏感度因子。 有关债券投资组合的所有信息都保存在名为BonPortfolio的结构中。 Struct是一种特定类型的数据结构,在MATLAB中用于将您想要的任何内容保存在其中。 到期收益率(YtM):如果债券持有至到期,债券的预期总收益就是收益。 到期收益率被认为是长期债券收益率,但以年利率表示。 换句话说,如果投资者持有债券至到期,并且按期付款并以相同的利率进行再投资,则这是债券投资的内部收益率(IRR)。 () 固定收益敏感性:固定收益投资对利率变化非常敏感。 债券的期限反映了利率每波动1%,债券价格的变化。 例如,期限为4的债券意味着利率每增加1%,债券价格就会下降/增加4%。 期限长,息票率低的债券的期限更长,因此对利率波动更为敏感。 同时,债券的凸度是衡量债券价格和债券收益率之间关系的曲率或曲线的程度。 凸度表明债券期限随利率变化而变化的敏感性。 投资组合经理将使用凸度作为风险管理工具,以衡量
资源详情
资源评论
资源推荐
收起资源包目录
BondPortfolioValuation-main.zip (9个子文件)
BondPortfolioValuation-main
errorCfls2Price.m 235B
CalcBondPortfolioYtM.m 602B
YtMC2BondPrice.m 555B
BondPriceOffSpotCurve.m 1KB
README.md 2KB
BPortfolioPriceoffspotCurve.m 2KB
Main code.m 778B
errorofYtM2BondPrice.m 170B
CalcBondPortfolioIRSens.m 738B
共 9 条
- 1
weixin_38699784
- 粉丝: 5
- 资源: 954
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0