{"id":2089683,"date":"2018-10-19T10:35:30","date_gmt":"2018-10-19T05:05:30","guid":{"rendered":"http:\/\/stockviz.biz\/index.php\/?p=2089683"},"modified":"2018-10-19T10:35:30","modified_gmt":"2018-10-19T05:05:30","slug":"charts-yield-curves","status":"publish","type":"post","link":"https:\/\/stockviz.biz\/index.php\/2018\/10\/19\/charts-yield-curves\/","title":{"rendered":"Charts: Yield Curves"},"content":{"rendered":"<p>A yield curve is simply a term structure of interest rates &#8211; something you get when you plot rates (y-axis) against the term (x-axis.) <\/p>\n<p>When you lend money to someone, you are taking two types of risk: rate risk and credit risk. This shows up in the chart as a curve that slopes up and two the right (to compensate for the former) and as a higher spread for riskier credit (to compensate for the latter.) But the shape is not a &#8220;universal truth&#8221; that always needs to be. For example, here are Indian zero coupon rates over the last 5 years:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/IND.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/IND.png\" width=\"7200\" height=\"3600\" alt=\"India zero coupon yield curve\" class=\"alignnone size-full\" \/><\/a><br \/>\nNote how in 2014, the curve was &#8220;inverted&#8221; &#8211; short-term rates were higher than long-term rates. This happens more often than one might think. One way to chart it is as a difference between the 10-year yield and the 2-year yield. If it dips below zero, you know the term-structure was inverted:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/IND.2s10s.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/IND.2s10s.png\" width=\"7200\" height=\"3600\" alt=\"India 2s10s\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>Bonds are not &#8220;boring.&#8221; Note the volatility in the 10-year yields, not just in Indian bonds but in US and Euro area as well:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/IND.10s.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/IND.10s.png\" width=\"7200\" height=\"3600\" alt=\"Indian 10y yields\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/UST.10s.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/UST.10s.png\" width=\"7200\" height=\"3600\" alt=\"US 10y yields\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/EUR.10s.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/EUR.10s.png\" width=\"7200\" height=\"3600\" alt=\"Euro 10y yields\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>Countries in the Euro area have different sovereign credit ratings. So the ECB publishes two rates: one is an aggregation of the whole Euro area and the other that is an aggregation of only the AAA country bonds. The chart above shows how right until the credit crisis hit, <em>AAA<\/em> and <em>ALL<\/em> were right on top of each other and then blew out after that point. This is the market realizing that not all Euro area countries are the same.<\/p>\n<p>Although Indian rates have never been negative, the same cannot be said for others. Here is how the Euro yield curve looked like on October 15, 2018:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/EUR.2018-10-15.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/EUR.2018-10-15.png\" width=\"7200\" height=\"3600\" alt=\"Euro area yield curve on 2018-10-15\" class=\"alignnone size-full\" \/><\/a><br \/>\nAnd until very recently, short term rates in the US were zero:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/UST.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/UST.png\" width=\"7200\" height=\"3600\" alt=\"US yield curves\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>Corporate bond investors need to be compensated for the credit risk that they take (over and above rate risk.) So corporate bonds tend to trade at a spread over the govvies. They are typically broken up by their credit rating and quoted as a spread:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/US.CORPORATE.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/US.CORPORATE.png\" width=\"7200\" height=\"3600\" alt=\"US corporate spreads\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>And the market further differentiates between &#8220;developed market&#8221; and &#8220;emerging market&#8221; corporates even within the same credit rating. Here is a chart of AAA spreads for US and EM corporate credit:<br \/>\n<a href=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/US-EM.AAA.CORPORATE.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/stockviz\/blog\/raw\/master\/yield%20curves\/US-EM.AAA.CORPORATE.png\" width=\"7200\" height=\"3600\" alt=\"US\/EM corporate credit spreads\" class=\"alignnone size-full\" \/><\/a><br \/>\nThe spikes in spreads are the credit crisis rippling through the system.<\/p>\n<p>We publish updated rate, credit and currency charts that all investors should track on our <a href=\"https:\/\/stockviz.biz\/markets\/macro\" rel=\"noopener\" target=\"_blank\">Macro Dashboard<\/a>. Do check it out.<\/p>\n<p>Code and more charts on <a href=\"https:\/\/github.com\/stockviz\/blog\/tree\/master\/yield%20curves\" rel=\"noopener\" target=\"_blank\">github<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A yield curve is simply a term structure of interest rates &#8211; something you get when you plot rates (y-axis) against the term (x-axis.) When you lend money to someone, you are taking two types of risk: rate risk and credit risk. This shows up in the chart as a curve that slopes up and &hellip; <\/p>\n","protected":false},"author":2,"featured_media":2089693,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3471],"tags":[998],"class_list":["post-2089683","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-investing-insight","tag-rates","entry"],"_links":{"self":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/2089683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/comments?post=2089683"}],"version-history":[{"count":0,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/2089683\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media\/2089693"}],"wp:attachment":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media?parent=2089683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/categories?post=2089683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/tags?post=2089683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}