Skip to content

Instantly share code, notes, and snippets.

@patiencehaggin
Last active December 27, 2018 01:15
Show Gist options
  • Save patiencehaggin/f5c1c96685a445e60b7671c46370b581 to your computer and use it in GitHub Desktop.
Save patiencehaggin/f5c1c96685a445e60b7671c46370b581 to your computer and use it in GitHub Desktop.
5Y/2Y, Yield Curves, 2015-2018
license: mit

Use the date slider to explore the five-year/two-year yield curve historically.

Data from U.S. Treasury. Daily trading data, Jan. 1, 2015 through Dec. 24, 2018, for two-year and five-year bonds.

Built with blockbuilder.org

<!DOCTYPE html>
<meta charset="utf-8">
<style>
.axis {
font: 10px serif;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.axis .domain {
fill: none;
stroke: #000;
stroke-opacity: .3;
stroke-width: 5px;
stroke-linecap: round;
}
.plot.axis path {
stroke-width: 2px;
}
.axis .halo {
fill: none;
stroke: #ddd;
stroke-width: 8px;
stroke-linecap: round;
}
.slider .handle {
fill: #fff;
stroke: #000;
stroke-opacity: .5;
stroke-width: 1.25px;
cursor: crosshair;
}
.yieldcurve {
fill: none;
stroke: darkgreen;
stroke-width: 2.5px;
}
</style>
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
var data = [
{
"date": "01/02/15",
"R_2Y": 0.66,
"R_5Y": 1.61
},
{
"date": "01/05/15",
"R_2Y": 0.68,
"R_5Y": 1.57
},
{
"date": "01/06/15",
"R_2Y": 0.65,
"R_5Y": 1.5
},
{
"date": "01/07/15",
"R_2Y": 0.62,
"R_5Y": 1.47
},
{
"date": "01/08/15",
"R_2Y": 0.62,
"R_5Y": 1.5
},
{
"date": "01/09/15",
"R_2Y": 0.59,
"R_5Y": 1.45
},
{
"date": "01/12/15",
"R_2Y": 0.56,
"R_5Y": 1.39
},
{
"date": "01/13/15",
"R_2Y": 0.54,
"R_5Y": 1.37
},
{
"date": "01/14/15",
"R_2Y": 0.51,
"R_5Y": 1.33
},
{
"date": "01/15/15",
"R_2Y": 0.44,
"R_5Y": 1.22
},
{
"date": "01/16/15",
"R_2Y": 0.49,
"R_5Y": 1.29
},
{
"date": "01/20/15",
"R_2Y": 0.53,
"R_5Y": 1.31
},
{
"date": "01/21/15",
"R_2Y": 0.53,
"R_5Y": 1.35
},
{
"date": "01/22/15",
"R_2Y": 0.53,
"R_5Y": 1.39
},
{
"date": "01/23/15",
"R_2Y": 0.52,
"R_5Y": 1.33
},
{
"date": "01/26/15",
"R_2Y": 0.54,
"R_5Y": 1.36
},
{
"date": "01/27/15",
"R_2Y": 0.54,
"R_5Y": 1.34
},
{
"date": "01/28/15",
"R_2Y": 0.5,
"R_5Y": 1.25
},
{
"date": "01/29/15",
"R_2Y": 0.51,
"R_5Y": 1.28
},
{
"date": "01/30/15",
"R_2Y": 0.47,
"R_5Y": 1.18
},
{
"date": "02/02/15",
"R_2Y": 0.49,
"R_5Y": 1.19
},
{
"date": "02/03/15",
"R_2Y": 0.52,
"R_5Y": 1.28
},
{
"date": "02/04/15",
"R_2Y": 0.52,
"R_5Y": 1.29
},
{
"date": "02/05/15",
"R_2Y": 0.52,
"R_5Y": 1.3
},
{
"date": "02/06/15",
"R_2Y": 0.65,
"R_5Y": 1.48
},
{
"date": "02/09/15",
"R_2Y": 0.65,
"R_5Y": 1.49
},
{
"date": "02/10/15",
"R_2Y": 0.67,
"R_5Y": 1.52
},
{
"date": "02/11/15",
"R_2Y": 0.67,
"R_5Y": 1.53
},
{
"date": "02/12/15",
"R_2Y": 0.61,
"R_5Y": 1.5
},
{
"date": "02/13/15",
"R_2Y": 0.66,
"R_5Y": 1.53
},
{
"date": "02/17/15",
"R_2Y": 0.7,
"R_5Y": 1.62
},
{
"date": "02/18/15",
"R_2Y": 0.62,
"R_5Y": 1.52
},
{
"date": "02/19/15",
"R_2Y": 0.67,
"R_5Y": 1.58
},
{
"date": "02/20/15",
"R_2Y": 0.67,
"R_5Y": 1.61
},
{
"date": "02/23/15",
"R_2Y": 0.64,
"R_5Y": 1.56
},
{
"date": "02/24/15",
"R_2Y": 0.6,
"R_5Y": 1.47
},
{
"date": "02/25/15",
"R_2Y": 0.61,
"R_5Y": 1.47
},
{
"date": "02/26/15",
"R_2Y": 0.66,
"R_5Y": 1.54
},
{
"date": "02/27/15",
"R_2Y": 0.63,
"R_5Y": 1.5
},
{
"date": "03/02/15",
"R_2Y": 0.66,
"R_5Y": 1.57
},
{
"date": "03/03/15",
"R_2Y": 0.68,
"R_5Y": 1.61
},
{
"date": "03/04/15",
"R_2Y": 0.66,
"R_5Y": 1.6
},
{
"date": "03/05/15",
"R_2Y": 0.65,
"R_5Y": 1.57
},
{
"date": "03/06/15",
"R_2Y": 0.73,
"R_5Y": 1.7
},
{
"date": "03/09/15",
"R_2Y": 0.7,
"R_5Y": 1.66
},
{
"date": "03/10/15",
"R_2Y": 0.7,
"R_5Y": 1.62
},
{
"date": "03/11/15",
"R_2Y": 0.7,
"R_5Y": 1.6
},
{
"date": "03/12/15",
"R_2Y": 0.67,
"R_5Y": 1.59
},
{
"date": "03/13/15",
"R_2Y": 0.68,
"R_5Y": 1.6
},
{
"date": "03/16/15",
"R_2Y": 0.66,
"R_5Y": 1.57
},
{
"date": "03/17/15",
"R_2Y": 0.7,
"R_5Y": 1.56
},
{
"date": "03/18/15",
"R_2Y": 0.57,
"R_5Y": 1.41
},
{
"date": "03/19/15",
"R_2Y": 0.63,
"R_5Y": 1.48
},
{
"date": "03/20/15",
"R_2Y": 0.6,
"R_5Y": 1.42
},
{
"date": "03/23/15",
"R_2Y": 0.6,
"R_5Y": 1.41
},
{
"date": "03/24/15",
"R_2Y": 0.58,
"R_5Y": 1.37
},
{
"date": "03/25/15",
"R_2Y": 0.59,
"R_5Y": 1.41
},
{
"date": "03/26/15",
"R_2Y": 0.61,
"R_5Y": 1.47
},
{
"date": "03/27/15",
"R_2Y": 0.58,
"R_5Y": 1.42
},
{
"date": "03/30/15",
"R_2Y": 0.58,
"R_5Y": 1.41
},
{
"date": "03/31/15",
"R_2Y": 0.56,
"R_5Y": 1.37
},
{
"date": "04/01/15",
"R_2Y": 0.55,
"R_5Y": 1.32
},
{
"date": "04/02/15",
"R_2Y": 0.55,
"R_5Y": 1.35
},
{
"date": "04/03/15",
"R_2Y": 0.49,
"R_5Y": 1.26
},
{
"date": "04/06/15",
"R_2Y": 0.51,
"R_5Y": 1.31
},
{
"date": "04/07/15",
"R_2Y": 0.52,
"R_5Y": 1.32
},
{
"date": "04/08/15",
"R_2Y": 0.54,
"R_5Y": 1.35
},
{
"date": "04/09/15",
"R_2Y": 0.56,
"R_5Y": 1.4
},
{
"date": "04/10/15",
"R_2Y": 0.57,
"R_5Y": 1.41
},
{
"date": "04/13/15",
"R_2Y": 0.54,
"R_5Y": 1.38
},
{
"date": "04/14/15",
"R_2Y": 0.53,
"R_5Y": 1.34
},
{
"date": "04/15/15",
"R_2Y": 0.51,
"R_5Y": 1.33
},
{
"date": "04/16/15",
"R_2Y": 0.5,
"R_5Y": 1.31
},
{
"date": "04/17/15",
"R_2Y": 0.51,
"R_5Y": 1.31
},
{
"date": "04/20/15",
"R_2Y": 0.55,
"R_5Y": 1.33
},
{
"date": "04/21/15",
"R_2Y": 0.55,
"R_5Y": 1.35
},
{
"date": "04/22/15",
"R_2Y": 0.57,
"R_5Y": 1.41
},
{
"date": "04/23/15",
"R_2Y": 0.55,
"R_5Y": 1.37
},
{
"date": "04/24/15",
"R_2Y": 0.54,
"R_5Y": 1.34
},
{
"date": "04/27/15",
"R_2Y": 0.54,
"R_5Y": 1.36
},
{
"date": "04/28/15",
"R_2Y": 0.56,
"R_5Y": 1.39
},
{
"date": "04/29/15",
"R_2Y": 0.56,
"R_5Y": 1.43
},
{
"date": "04/30/15",
"R_2Y": 0.58,
"R_5Y": 1.43
},
{
"date": "05/01/15",
"R_2Y": 0.6,
"R_5Y": 1.5
},
{
"date": "05/04/15",
"R_2Y": 0.6,
"R_5Y": 1.51
},
{
"date": "05/05/15",
"R_2Y": 0.62,
"R_5Y": 1.54
},
{
"date": "05/06/15",
"R_2Y": 0.65,
"R_5Y": 1.58
},
{
"date": "05/07/15",
"R_2Y": 0.63,
"R_5Y": 1.55
},
{
"date": "05/08/15",
"R_2Y": 0.59,
"R_5Y": 1.5
},
{
"date": "05/11/15",
"R_2Y": 0.62,
"R_5Y": 1.59
},
{
"date": "05/12/15",
"R_2Y": 0.61,
"R_5Y": 1.58
},
{
"date": "05/13/15",
"R_2Y": 0.59,
"R_5Y": 1.57
},
{
"date": "05/14/15",
"R_2Y": 0.56,
"R_5Y": 1.51
},
{
"date": "05/15/15",
"R_2Y": 0.55,
"R_5Y": 1.46
},
{
"date": "05/18/15",
"R_2Y": 0.58,
"R_5Y": 1.54
},
{
"date": "05/19/15",
"R_2Y": 0.63,
"R_5Y": 1.6
},
{
"date": "05/20/15",
"R_2Y": 0.6,
"R_5Y": 1.57
},
{
"date": "05/21/15",
"R_2Y": 0.6,
"R_5Y": 1.53
},
{
"date": "05/22/15",
"R_2Y": 0.64,
"R_5Y": 1.57
},
{
"date": "05/26/15",
"R_2Y": 0.64,
"R_5Y": 1.54
},
{
"date": "05/27/15",
"R_2Y": 0.64,
"R_5Y": 1.53
},
{
"date": "05/28/15",
"R_2Y": 0.62,
"R_5Y": 1.51
},
{
"date": "05/29/15",
"R_2Y": 0.61,
"R_5Y": 1.49
},
{
"date": "06/01/15",
"R_2Y": 0.64,
"R_5Y": 1.55
},
{
"date": "06/02/15",
"R_2Y": 0.64,
"R_5Y": 1.61
},
{
"date": "06/03/15",
"R_2Y": 0.69,
"R_5Y": 1.69
},
{
"date": "06/04/15",
"R_2Y": 0.66,
"R_5Y": 1.65
},
{
"date": "06/05/15",
"R_2Y": 0.73,
"R_5Y": 1.75
},
{
"date": "06/08/15",
"R_2Y": 0.7,
"R_5Y": 1.72
},
{
"date": "06/09/15",
"R_2Y": 0.72,
"R_5Y": 1.74
},
{
"date": "06/10/15",
"R_2Y": 0.75,
"R_5Y": 1.8
},
{
"date": "06/11/15",
"R_2Y": 0.73,
"R_5Y": 1.74
},
{
"date": "06/12/15",
"R_2Y": 0.74,
"R_5Y": 1.75
},
{
"date": "06/15/15",
"R_2Y": 0.72,
"R_5Y": 1.71
},
{
"date": "06/16/15",
"R_2Y": 0.71,
"R_5Y": 1.68
},
{
"date": "06/17/15",
"R_2Y": 0.67,
"R_5Y": 1.63
},
{
"date": "06/18/15",
"R_2Y": 0.66,
"R_5Y": 1.65
},
{
"date": "06/19/15",
"R_2Y": 0.65,
"R_5Y": 1.59
},
{
"date": "06/22/15",
"R_2Y": 0.68,
"R_5Y": 1.68
},
{
"date": "06/23/15",
"R_2Y": 0.7,
"R_5Y": 1.71
},
{
"date": "06/24/15",
"R_2Y": 0.68,
"R_5Y": 1.69
},
{
"date": "06/25/15",
"R_2Y": 0.68,
"R_5Y": 1.7
},
{
"date": "06/26/15",
"R_2Y": 0.72,
"R_5Y": 1.75
},
{
"date": "06/29/15",
"R_2Y": 0.64,
"R_5Y": 1.62
},
{
"date": "06/30/15",
"R_2Y": 0.64,
"R_5Y": 1.63
},
{
"date": "07/01/15",
"R_2Y": 0.69,
"R_5Y": 1.7
},
{
"date": "07/02/15",
"R_2Y": 0.64,
"R_5Y": 1.64
},
{
"date": "07/06/15",
"R_2Y": 0.6,
"R_5Y": 1.56
},
{
"date": "07/07/15",
"R_2Y": 0.58,
"R_5Y": 1.55
},
{
"date": "07/08/15",
"R_2Y": 0.55,
"R_5Y": 1.5
},
{
"date": "07/09/15",
"R_2Y": 0.6,
"R_5Y": 1.58
},
{
"date": "07/10/15",
"R_2Y": 0.65,
"R_5Y": 1.68
},
{
"date": "07/13/15",
"R_2Y": 0.69,
"R_5Y": 1.71
},
{
"date": "07/14/15",
"R_2Y": 0.66,
"R_5Y": 1.67
},
{
"date": "07/15/15",
"R_2Y": 0.64,
"R_5Y": 1.63
},
{
"date": "07/16/15",
"R_2Y": 0.67,
"R_5Y": 1.66
},
{
"date": "07/17/15",
"R_2Y": 0.68,
"R_5Y": 1.67
},
{
"date": "07/20/15",
"R_2Y": 0.71,
"R_5Y": 1.72
},
{
"date": "07/21/15",
"R_2Y": 0.71,
"R_5Y": 1.69
},
{
"date": "07/22/15",
"R_2Y": 0.75,
"R_5Y": 1.69
},
{
"date": "07/23/15",
"R_2Y": 0.71,
"R_5Y": 1.65
},
{
"date": "07/24/15",
"R_2Y": 0.7,
"R_5Y": 1.64
},
{
"date": "07/27/15",
"R_2Y": 0.68,
"R_5Y": 1.58
},
{
"date": "07/28/15",
"R_2Y": 0.69,
"R_5Y": 1.61
},
{
"date": "07/29/15",
"R_2Y": 0.7,
"R_5Y": 1.62
},
{
"date": "07/30/15",
"R_2Y": 0.72,
"R_5Y": 1.62
},
{
"date": "07/31/15",
"R_2Y": 0.67,
"R_5Y": 1.54
},
{
"date": "08/03/15",
"R_2Y": 0.68,
"R_5Y": 1.52
},
{
"date": "08/04/15",
"R_2Y": 0.74,
"R_5Y": 1.6
},
{
"date": "08/05/15",
"R_2Y": 0.73,
"R_5Y": 1.65
},
{
"date": "08/06/15",
"R_2Y": 0.71,
"R_5Y": 1.62
},
{
"date": "08/07/15",
"R_2Y": 0.73,
"R_5Y": 1.59
},
{
"date": "08/10/15",
"R_2Y": 0.73,
"R_5Y": 1.62
},
{
"date": "08/11/15",
"R_2Y": 0.68,
"R_5Y": 1.53
},
{
"date": "08/12/15",
"R_2Y": 0.67,
"R_5Y": 1.52
},
{
"date": "08/13/15",
"R_2Y": 0.72,
"R_5Y": 1.58
},
{
"date": "08/14/15",
"R_2Y": 0.73,
"R_5Y": 1.61
},
{
"date": "08/17/15",
"R_2Y": 0.72,
"R_5Y": 1.58
},
{
"date": "08/18/15",
"R_2Y": 0.74,
"R_5Y": 1.6
},
{
"date": "08/19/15",
"R_2Y": 0.67,
"R_5Y": 1.5
},
{
"date": "08/20/15",
"R_2Y": 0.69,
"R_5Y": 1.5
},
{
"date": "08/21/15",
"R_2Y": 0.64,
"R_5Y": 1.44
},
{
"date": "08/24/15",
"R_2Y": 0.59,
"R_5Y": 1.39
},
{
"date": "08/25/15",
"R_2Y": 0.67,
"R_5Y": 1.48
},
{
"date": "08/26/15",
"R_2Y": 0.67,
"R_5Y": 1.49
},
{
"date": "08/27/15",
"R_2Y": 0.68,
"R_5Y": 1.49
},
{
"date": "08/28/15",
"R_2Y": 0.72,
"R_5Y": 1.52
},
{
"date": "08/31/15",
"R_2Y": 0.74,
"R_5Y": 1.54
},
{
"date": "09/01/15",
"R_2Y": 0.7,
"R_5Y": 1.49
},
{
"date": "09/02/15",
"R_2Y": 0.72,
"R_5Y": 1.52
},
{
"date": "09/03/15",
"R_2Y": 0.71,
"R_5Y": 1.49
},
{
"date": "09/04/15",
"R_2Y": 0.71,
"R_5Y": 1.47
},
{
"date": "09/08/15",
"R_2Y": 0.74,
"R_5Y": 1.53
},
{
"date": "09/09/15",
"R_2Y": 0.75,
"R_5Y": 1.53
},
{
"date": "09/10/15",
"R_2Y": 0.75,
"R_5Y": 1.55
},
{
"date": "09/11/15",
"R_2Y": 0.71,
"R_5Y": 1.52
},
{
"date": "09/14/15",
"R_2Y": 0.73,
"R_5Y": 1.51
},
{
"date": "09/15/15",
"R_2Y": 0.82,
"R_5Y": 1.61
},
{
"date": "09/16/15",
"R_2Y": 0.82,
"R_5Y": 1.62
},
{
"date": "09/17/15",
"R_2Y": 0.7,
"R_5Y": 1.5
},
{
"date": "09/18/15",
"R_2Y": 0.69,
"R_5Y": 1.45
},
{
"date": "09/21/15",
"R_2Y": 0.72,
"R_5Y": 1.51
},
{
"date": "09/22/15",
"R_2Y": 0.69,
"R_5Y": 1.44
},
{
"date": "09/23/15",
"R_2Y": 0.7,
"R_5Y": 1.47
},
{
"date": "09/24/15",
"R_2Y": 0.67,
"R_5Y": 1.44
},
{
"date": "09/25/15",
"R_2Y": 0.7,
"R_5Y": 1.48
},
{
"date": "09/28/15",
"R_2Y": 0.67,
"R_5Y": 1.42
},
{
"date": "09/29/15",
"R_2Y": 0.64,
"R_5Y": 1.37
},
{
"date": "09/30/15",
"R_2Y": 0.64,
"R_5Y": 1.37
},
{
"date": "10/01/15",
"R_2Y": 0.64,
"R_5Y": 1.37
},
{
"date": "10/02/15",
"R_2Y": 0.58,
"R_5Y": 1.29
},
{
"date": "10/05/15",
"R_2Y": 0.61,
"R_5Y": 1.35
},
{
"date": "10/06/15",
"R_2Y": 0.61,
"R_5Y": 1.34
},
{
"date": "10/07/15",
"R_2Y": 0.65,
"R_5Y": 1.37
},
{
"date": "10/08/15",
"R_2Y": 0.65,
"R_5Y": 1.4
},
{
"date": "10/09/15",
"R_2Y": 0.65,
"R_5Y": 1.41
},
{
"date": "10/13/15",
"R_2Y": 0.64,
"R_5Y": 1.36
},
{
"date": "10/14/15",
"R_2Y": 0.57,
"R_5Y": 1.29
},
{
"date": "10/15/15",
"R_2Y": 0.61,
"R_5Y": 1.34
},
{
"date": "10/16/15",
"R_2Y": 0.61,
"R_5Y": 1.36
},
{
"date": "10/19/15",
"R_2Y": 0.61,
"R_5Y": 1.35
},
{
"date": "10/20/15",
"R_2Y": 0.66,
"R_5Y": 1.4
},
{
"date": "10/21/15",
"R_2Y": 0.64,
"R_5Y": 1.37
},
{
"date": "10/22/15",
"R_2Y": 0.61,
"R_5Y": 1.36
},
{
"date": "10/23/15",
"R_2Y": 0.66,
"R_5Y": 1.43
},
{
"date": "10/26/15",
"R_2Y": 0.66,
"R_5Y": 1.41
},
{
"date": "10/27/15",
"R_2Y": 0.65,
"R_5Y": 1.38
},
{
"date": "10/28/15",
"R_2Y": 0.73,
"R_5Y": 1.47
},
{
"date": "10/29/15",
"R_2Y": 0.75,
"R_5Y": 1.53
},
{
"date": "10/30/15",
"R_2Y": 0.75,
"R_5Y": 1.52
},
{
"date": "11/02/15",
"R_2Y": 0.77,
"R_5Y": 1.57
},
{
"date": "11/03/15",
"R_2Y": 0.8,
"R_5Y": 1.59
},
{
"date": "11/04/15",
"R_2Y": 0.84,
"R_5Y": 1.64
},
{
"date": "11/05/15",
"R_2Y": 0.85,
"R_5Y": 1.65
},
{
"date": "11/06/15",
"R_2Y": 0.9,
"R_5Y": 1.73
},
{
"date": "11/09/15",
"R_2Y": 0.89,
"R_5Y": 1.75
},
{
"date": "11/10/15",
"R_2Y": 0.87,
"R_5Y": 1.72
},
{
"date": "11/12/15",
"R_2Y": 0.89,
"R_5Y": 1.73
},
{
"date": "11/13/15",
"R_2Y": 0.86,
"R_5Y": 1.67
},
{
"date": "11/16/15",
"R_2Y": 0.88,
"R_5Y": 1.66
},
{
"date": "11/17/15",
"R_2Y": 0.86,
"R_5Y": 1.66
},
{
"date": "11/18/15",
"R_2Y": 0.9,
"R_5Y": 1.69
},
{
"date": "11/19/15",
"R_2Y": 0.91,
"R_5Y": 1.68
},
{
"date": "11/20/15",
"R_2Y": 0.93,
"R_5Y": 1.7
},
{
"date": "11/23/15",
"R_2Y": 0.94,
"R_5Y": 1.7
},
{
"date": "11/24/15",
"R_2Y": 0.93,
"R_5Y": 1.66
},
{
"date": "11/25/15",
"R_2Y": 0.93,
"R_5Y": 1.66
},
{
"date": "11/27/15",
"R_2Y": 0.92,
"R_5Y": 1.64
},
{
"date": "11/30/15",
"R_2Y": 0.94,
"R_5Y": 1.65
},
{
"date": "12/01/15",
"R_2Y": 0.91,
"R_5Y": 1.59
},
{
"date": "12/02/15",
"R_2Y": 0.94,
"R_5Y": 1.63
},
{
"date": "12/03/15",
"R_2Y": 0.96,
"R_5Y": 1.74
},
{
"date": "12/04/15",
"R_2Y": 0.96,
"R_5Y": 1.71
},
{
"date": "12/07/15",
"R_2Y": 0.94,
"R_5Y": 1.67
},
{
"date": "12/08/15",
"R_2Y": 0.94,
"R_5Y": 1.68
},
{
"date": "12/09/15",
"R_2Y": 0.93,
"R_5Y": 1.64
},
{
"date": "12/10/15",
"R_2Y": 0.95,
"R_5Y": 1.68
},
{
"date": "12/11/15",
"R_2Y": 0.88,
"R_5Y": 1.56
},
{
"date": "12/14/15",
"R_2Y": 0.97,
"R_5Y": 1.66
},
{
"date": "12/15/15",
"R_2Y": 0.98,
"R_5Y": 1.71
},
{
"date": "12/16/15",
"R_2Y": 1.02,
"R_5Y": 1.75
},
{
"date": "12/17/15",
"R_2Y": 1,
"R_5Y": 1.73
},
{
"date": "12/18/15",
"R_2Y": 0.97,
"R_5Y": 1.67
},
{
"date": "12/21/15",
"R_2Y": 0.96,
"R_5Y": 1.67
},
{
"date": "12/22/15",
"R_2Y": 0.99,
"R_5Y": 1.71
},
{
"date": "12/23/15",
"R_2Y": 1.01,
"R_5Y": 1.74
},
{
"date": "12/24/15",
"R_2Y": 1.03,
"R_5Y": 1.73
},
{
"date": "12/28/15",
"R_2Y": 1.05,
"R_5Y": 1.73
},
{
"date": "12/29/15",
"R_2Y": 1.09,
"R_5Y": 1.81
},
{
"date": "12/30/15",
"R_2Y": 1.08,
"R_5Y": 1.8
},
{
"date": "12/31/15",
"R_2Y": 1.06,
"R_5Y": 1.76
},
{
"date": "01/04/16",
"R_2Y": 1.02,
"R_5Y": 1.73
},
{
"date": "01/05/16",
"R_2Y": 1.04,
"R_5Y": 1.73
},
{
"date": "01/06/16",
"R_2Y": 0.99,
"R_5Y": 1.65
},
{
"date": "01/07/16",
"R_2Y": 0.96,
"R_5Y": 1.61
},
{
"date": "01/08/16",
"R_2Y": 0.94,
"R_5Y": 1.57
},
{
"date": "01/11/16",
"R_2Y": 0.94,
"R_5Y": 1.58
},
{
"date": "01/12/16",
"R_2Y": 0.93,
"R_5Y": 1.55
},
{
"date": "01/13/16",
"R_2Y": 0.91,
"R_5Y": 1.51
},
{
"date": "01/14/16",
"R_2Y": 0.9,
"R_5Y": 1.52
},
{
"date": "01/15/16",
"R_2Y": 0.85,
"R_5Y": 1.46
},
{
"date": "01/19/16",
"R_2Y": 0.88,
"R_5Y": 1.49
},
{
"date": "01/20/16",
"R_2Y": 0.85,
"R_5Y": 1.44
},
{
"date": "01/21/16",
"R_2Y": 0.84,
"R_5Y": 1.44
},
{
"date": "01/22/16",
"R_2Y": 0.88,
"R_5Y": 1.49
},
{
"date": "01/25/16",
"R_2Y": 0.88,
"R_5Y": 1.47
},
{
"date": "01/26/16",
"R_2Y": 0.85,
"R_5Y": 1.45
},
{
"date": "01/27/16",
"R_2Y": 0.84,
"R_5Y": 1.43
},
{
"date": "01/28/16",
"R_2Y": 0.83,
"R_5Y": 1.4
},
{
"date": "01/29/16",
"R_2Y": 0.76,
"R_5Y": 1.33
},
{
"date": "02/01/16",
"R_2Y": 0.81,
"R_5Y": 1.38
},
{
"date": "02/02/16",
"R_2Y": 0.75,
"R_5Y": 1.28
},
{
"date": "02/03/16",
"R_2Y": 0.72,
"R_5Y": 1.27
},
{
"date": "02/04/16",
"R_2Y": 0.7,
"R_5Y": 1.25
},
{
"date": "02/05/16",
"R_2Y": 0.74,
"R_5Y": 1.25
},
{
"date": "02/08/16",
"R_2Y": 0.66,
"R_5Y": 1.16
},
{
"date": "02/09/16",
"R_2Y": 0.69,
"R_5Y": 1.15
},
{
"date": "02/10/16",
"R_2Y": 0.71,
"R_5Y": 1.15
},
{
"date": "02/11/16",
"R_2Y": 0.64,
"R_5Y": 1.11
},
{
"date": "02/12/16",
"R_2Y": 0.71,
"R_5Y": 1.2
},
{
"date": "02/16/16",
"R_2Y": 0.74,
"R_5Y": 1.23
},
{
"date": "02/17/16",
"R_2Y": 0.74,
"R_5Y": 1.26
},
{
"date": "02/18/16",
"R_2Y": 0.71,
"R_5Y": 1.21
},
{
"date": "02/19/16",
"R_2Y": 0.76,
"R_5Y": 1.24
},
{
"date": "02/22/16",
"R_2Y": 0.78,
"R_5Y": 1.25
},
{
"date": "02/23/16",
"R_2Y": 0.76,
"R_5Y": 1.23
},
{
"date": "02/24/16",
"R_2Y": 0.75,
"R_5Y": 1.21
},
{
"date": "02/25/16",
"R_2Y": 0.72,
"R_5Y": 1.16
},
{
"date": "02/26/16",
"R_2Y": 0.8,
"R_5Y": 1.23
},
{
"date": "02/29/16",
"R_2Y": 0.78,
"R_5Y": 1.22
},
{
"date": "03/01/16",
"R_2Y": 0.85,
"R_5Y": 1.31
},
{
"date": "03/02/16",
"R_2Y": 0.85,
"R_5Y": 1.34
},
{
"date": "03/03/16",
"R_2Y": 0.85,
"R_5Y": 1.33
},
{
"date": "03/04/16",
"R_2Y": 0.88,
"R_5Y": 1.38
},
{
"date": "03/07/16",
"R_2Y": 0.91,
"R_5Y": 1.42
},
{
"date": "03/08/16",
"R_2Y": 0.88,
"R_5Y": 1.34
},
{
"date": "03/09/16",
"R_2Y": 0.9,
"R_5Y": 1.39
},
{
"date": "03/10/16",
"R_2Y": 0.93,
"R_5Y": 1.45
},
{
"date": "03/11/16",
"R_2Y": 0.97,
"R_5Y": 1.49
},
{
"date": "03/14/16",
"R_2Y": 0.97,
"R_5Y": 1.49
},
{
"date": "03/15/16",
"R_2Y": 0.98,
"R_5Y": 1.5
},
{
"date": "03/16/16",
"R_2Y": 0.87,
"R_5Y": 1.41
},
{
"date": "03/17/16",
"R_2Y": 0.87,
"R_5Y": 1.39
},
{
"date": "03/18/16",
"R_2Y": 0.84,
"R_5Y": 1.34
},
{
"date": "03/21/16",
"R_2Y": 0.87,
"R_5Y": 1.38
},
{
"date": "03/22/16",
"R_2Y": 0.91,
"R_5Y": 1.42
},
{
"date": "03/23/16",
"R_2Y": 0.87,
"R_5Y": 1.37
},
{
"date": "03/24/16",
"R_2Y": 0.89,
"R_5Y": 1.39
},
{
"date": "03/28/16",
"R_2Y": 0.89,
"R_5Y": 1.37
},
{
"date": "03/29/16",
"R_2Y": 0.78,
"R_5Y": 1.29
},
{
"date": "03/30/16",
"R_2Y": 0.76,
"R_5Y": 1.26
},
{
"date": "03/31/16",
"R_2Y": 0.73,
"R_5Y": 1.21
},
{
"date": "04/01/16",
"R_2Y": 0.76,
"R_5Y": 1.24
},
{
"date": "04/04/16",
"R_2Y": 0.75,
"R_5Y": 1.22
},
{
"date": "04/05/16",
"R_2Y": 0.72,
"R_5Y": 1.17
},
{
"date": "04/06/16",
"R_2Y": 0.73,
"R_5Y": 1.2
},
{
"date": "04/07/16",
"R_2Y": 0.7,
"R_5Y": 1.14
},
{
"date": "04/08/16",
"R_2Y": 0.7,
"R_5Y": 1.16
},
{
"date": "04/11/16",
"R_2Y": 0.7,
"R_5Y": 1.16
},
{
"date": "04/12/16",
"R_2Y": 0.74,
"R_5Y": 1.22
},
{
"date": "04/13/16",
"R_2Y": 0.75,
"R_5Y": 1.22
},
{
"date": "04/14/16",
"R_2Y": 0.77,
"R_5Y": 1.26
},
{
"date": "04/15/16",
"R_2Y": 0.74,
"R_5Y": 1.22
},
{
"date": "04/18/16",
"R_2Y": 0.75,
"R_5Y": 1.24
},
{
"date": "04/19/16",
"R_2Y": 0.77,
"R_5Y": 1.26
},
{
"date": "04/20/16",
"R_2Y": 0.8,
"R_5Y": 1.32
},
{
"date": "04/21/16",
"R_2Y": 0.82,
"R_5Y": 1.35
},
{
"date": "04/22/16",
"R_2Y": 0.84,
"R_5Y": 1.37
},
{
"date": "04/25/16",
"R_2Y": 0.85,
"R_5Y": 1.38
},
{
"date": "04/26/16",
"R_2Y": 0.86,
"R_5Y": 1.4
},
{
"date": "04/27/16",
"R_2Y": 0.83,
"R_5Y": 1.33
},
{
"date": "04/28/16",
"R_2Y": 0.78,
"R_5Y": 1.28
},
{
"date": "04/29/16",
"R_2Y": 0.77,
"R_5Y": 1.28
},
{
"date": "05/02/16",
"R_2Y": 0.8,
"R_5Y": 1.32
},
{
"date": "05/03/16",
"R_2Y": 0.75,
"R_5Y": 1.25
},
{
"date": "05/04/16",
"R_2Y": 0.75,
"R_5Y": 1.23
},
{
"date": "05/05/16",
"R_2Y": 0.72,
"R_5Y": 1.2
},
{
"date": "05/06/16",
"R_2Y": 0.74,
"R_5Y": 1.23
},
{
"date": "05/09/16",
"R_2Y": 0.72,
"R_5Y": 1.2
},
{
"date": "05/10/16",
"R_2Y": 0.72,
"R_5Y": 1.2
},
{
"date": "05/11/16",
"R_2Y": 0.74,
"R_5Y": 1.2
},
{
"date": "05/12/16",
"R_2Y": 0.76,
"R_5Y": 1.24
},
{
"date": "05/13/16",
"R_2Y": 0.76,
"R_5Y": 1.22
},
{
"date": "05/16/16",
"R_2Y": 0.79,
"R_5Y": 1.26
},
{
"date": "05/17/16",
"R_2Y": 0.82,
"R_5Y": 1.29
},
{
"date": "05/18/16",
"R_2Y": 0.9,
"R_5Y": 1.41
},
{
"date": "05/19/16",
"R_2Y": 0.89,
"R_5Y": 1.38
},
{
"date": "05/20/16",
"R_2Y": 0.89,
"R_5Y": 1.38
},
{
"date": "05/23/16",
"R_2Y": 0.91,
"R_5Y": 1.38
},
{
"date": "05/24/16",
"R_2Y": 0.92,
"R_5Y": 1.41
},
{
"date": "05/25/16",
"R_2Y": 0.92,
"R_5Y": 1.4
},
{
"date": "05/26/16",
"R_2Y": 0.87,
"R_5Y": 1.35
},
{
"date": "05/27/16",
"R_2Y": 0.9,
"R_5Y": 1.39
},
{
"date": "05/31/16",
"R_2Y": 0.87,
"R_5Y": 1.37
},
{
"date": "06/01/16",
"R_2Y": 0.91,
"R_5Y": 1.39
},
{
"date": "06/02/16",
"R_2Y": 0.89,
"R_5Y": 1.36
},
{
"date": "06/03/16",
"R_2Y": 0.78,
"R_5Y": 1.23
},
{
"date": "06/06/16",
"R_2Y": 0.8,
"R_5Y": 1.25
},
{
"date": "06/07/16",
"R_2Y": 0.78,
"R_5Y": 1.23
},
{
"date": "06/08/16",
"R_2Y": 0.78,
"R_5Y": 1.23
},
{
"date": "06/09/16",
"R_2Y": 0.77,
"R_5Y": 1.22
},
{
"date": "06/10/16",
"R_2Y": 0.73,
"R_5Y": 1.17
},
{
"date": "06/13/16",
"R_2Y": 0.73,
"R_5Y": 1.14
},
{
"date": "06/14/16",
"R_2Y": 0.74,
"R_5Y": 1.15
},
{
"date": "06/15/16",
"R_2Y": 0.69,
"R_5Y": 1.1
},
{
"date": "06/16/16",
"R_2Y": 0.7,
"R_5Y": 1.1
},
{
"date": "06/17/16",
"R_2Y": 0.7,
"R_5Y": 1.13
},
{
"date": "06/20/16",
"R_2Y": 0.74,
"R_5Y": 1.17
},
{
"date": "06/21/16",
"R_2Y": 0.76,
"R_5Y": 1.22
},
{
"date": "06/22/16",
"R_2Y": 0.75,
"R_5Y": 1.2
},
{
"date": "06/23/16",
"R_2Y": 0.78,
"R_5Y": 1.25
},
{
"date": "06/24/16",
"R_2Y": 0.64,
"R_5Y": 1.08
},
{
"date": "06/27/16",
"R_2Y": 0.61,
"R_5Y": 1
},
{
"date": "06/28/16",
"R_2Y": 0.61,
"R_5Y": 1
},
{
"date": "06/29/16",
"R_2Y": 0.62,
"R_5Y": 1.03
},
{
"date": "06/30/16",
"R_2Y": 0.58,
"R_5Y": 1.01
},
{
"date": "07/01/16",
"R_2Y": 0.59,
"R_5Y": 1
},
{
"date": "07/05/16",
"R_2Y": 0.56,
"R_5Y": 0.94
},
{
"date": "07/06/16",
"R_2Y": 0.58,
"R_5Y": 0.95
},
{
"date": "07/07/16",
"R_2Y": 0.58,
"R_5Y": 0.97
},
{
"date": "07/08/16",
"R_2Y": 0.61,
"R_5Y": 0.95
},
{
"date": "07/11/16",
"R_2Y": 0.66,
"R_5Y": 1.03
},
{
"date": "07/12/16",
"R_2Y": 0.69,
"R_5Y": 1.1
},
{
"date": "07/13/16",
"R_2Y": 0.68,
"R_5Y": 1.07
},
{
"date": "07/14/16",
"R_2Y": 0.68,
"R_5Y": 1.1
},
{
"date": "07/15/16",
"R_2Y": 0.71,
"R_5Y": 1.15
},
{
"date": "07/18/16",
"R_2Y": 0.68,
"R_5Y": 1.14
},
{
"date": "07/19/16",
"R_2Y": 0.7,
"R_5Y": 1.12
},
{
"date": "07/20/16",
"R_2Y": 0.73,
"R_5Y": 1.15
},
{
"date": "07/21/16",
"R_2Y": 0.7,
"R_5Y": 1.11
},
{
"date": "07/22/16",
"R_2Y": 0.71,
"R_5Y": 1.13
},
{
"date": "07/25/16",
"R_2Y": 0.72,
"R_5Y": 1.15
},
{
"date": "07/26/16",
"R_2Y": 0.75,
"R_5Y": 1.15
},
{
"date": "07/27/16",
"R_2Y": 0.73,
"R_5Y": 1.1
},
{
"date": "07/28/16",
"R_2Y": 0.72,
"R_5Y": 1.09
},
{
"date": "07/29/16",
"R_2Y": 0.67,
"R_5Y": 1.03
},
{
"date": "08/01/16",
"R_2Y": 0.67,
"R_5Y": 1.06
},
{
"date": "08/02/16",
"R_2Y": 0.67,
"R_5Y": 1.07
},
{
"date": "08/03/16",
"R_2Y": 0.67,
"R_5Y": 1.07
},
{
"date": "08/04/16",
"R_2Y": 0.64,
"R_5Y": 1.03
},
{
"date": "08/05/16",
"R_2Y": 0.72,
"R_5Y": 1.13
},
{
"date": "08/08/16",
"R_2Y": 0.74,
"R_5Y": 1.15
},
{
"date": "08/09/16",
"R_2Y": 0.71,
"R_5Y": 1.11
},
{
"date": "08/10/16",
"R_2Y": 0.69,
"R_5Y": 1.07
},
{
"date": "08/11/16",
"R_2Y": 0.76,
"R_5Y": 1.16
},
{
"date": "08/12/16",
"R_2Y": 0.71,
"R_5Y": 1.1
},
{
"date": "08/15/16",
"R_2Y": 0.72,
"R_5Y": 1.14
},
{
"date": "08/16/16",
"R_2Y": 0.76,
"R_5Y": 1.16
},
{
"date": "08/17/16",
"R_2Y": 0.74,
"R_5Y": 1.15
},
{
"date": "08/18/16",
"R_2Y": 0.71,
"R_5Y": 1.12
},
{
"date": "08/19/16",
"R_2Y": 0.76,
"R_5Y": 1.17
},
{
"date": "08/22/16",
"R_2Y": 0.76,
"R_5Y": 1.15
},
{
"date": "08/23/16",
"R_2Y": 0.74,
"R_5Y": 1.15
},
{
"date": "08/24/16",
"R_2Y": 0.76,
"R_5Y": 1.13
},
{
"date": "08/25/16",
"R_2Y": 0.78,
"R_5Y": 1.16
},
{
"date": "08/26/16",
"R_2Y": 0.84,
"R_5Y": 1.23
},
{
"date": "08/29/16",
"R_2Y": 0.81,
"R_5Y": 1.18
},
{
"date": "08/30/16",
"R_2Y": 0.8,
"R_5Y": 1.18
},
{
"date": "08/31/16",
"R_2Y": 0.8,
"R_5Y": 1.19
},
{
"date": "09/01/16",
"R_2Y": 0.78,
"R_5Y": 1.18
},
{
"date": "09/02/16",
"R_2Y": 0.8,
"R_5Y": 1.2
},
{
"date": "09/06/16",
"R_2Y": 0.74,
"R_5Y": 1.13
},
{
"date": "09/07/16",
"R_2Y": 0.74,
"R_5Y": 1.12
},
{
"date": "09/08/16",
"R_2Y": 0.78,
"R_5Y": 1.19
},
{
"date": "09/09/16",
"R_2Y": 0.79,
"R_5Y": 1.23
},
{
"date": "09/12/16",
"R_2Y": 0.79,
"R_5Y": 1.21
},
{
"date": "09/13/16",
"R_2Y": 0.8,
"R_5Y": 1.26
},
{
"date": "09/14/16",
"R_2Y": 0.77,
"R_5Y": 1.21
},
{
"date": "09/15/16",
"R_2Y": 0.74,
"R_5Y": 1.2
},
{
"date": "09/16/16",
"R_2Y": 0.77,
"R_5Y": 1.21
},
{
"date": "09/19/16",
"R_2Y": 0.79,
"R_5Y": 1.22
},
{
"date": "09/20/16",
"R_2Y": 0.79,
"R_5Y": 1.2
},
{
"date": "09/21/16",
"R_2Y": 0.79,
"R_5Y": 1.2
},
{
"date": "09/22/16",
"R_2Y": 0.79,
"R_5Y": 1.18
},
{
"date": "09/23/16",
"R_2Y": 0.77,
"R_5Y": 1.16
},
{
"date": "09/26/16",
"R_2Y": 0.76,
"R_5Y": 1.13
},
{
"date": "09/27/16",
"R_2Y": 0.75,
"R_5Y": 1.12
},
{
"date": "09/28/16",
"R_2Y": 0.75,
"R_5Y": 1.13
},
{
"date": "09/29/16",
"R_2Y": 0.73,
"R_5Y": 1.12
},
{
"date": "09/30/16",
"R_2Y": 0.77,
"R_5Y": 1.14
},
{
"date": "10/03/16",
"R_2Y": 0.8,
"R_5Y": 1.18
},
{
"date": "10/04/16",
"R_2Y": 0.82,
"R_5Y": 1.22
},
{
"date": "10/05/16",
"R_2Y": 0.85,
"R_5Y": 1.26
},
{
"date": "10/06/16",
"R_2Y": 0.86,
"R_5Y": 1.28
},
{
"date": "10/07/16",
"R_2Y": 0.83,
"R_5Y": 1.26
},
{
"date": "10/11/16",
"R_2Y": 0.87,
"R_5Y": 1.3
},
{
"date": "10/12/16",
"R_2Y": 0.87,
"R_5Y": 1.31
},
{
"date": "10/13/16",
"R_2Y": 0.85,
"R_5Y": 1.27
},
{
"date": "10/14/16",
"R_2Y": 0.84,
"R_5Y": 1.28
},
{
"date": "10/17/16",
"R_2Y": 0.81,
"R_5Y": 1.26
},
{
"date": "10/18/16",
"R_2Y": 0.82,
"R_5Y": 1.24
},
{
"date": "10/19/16",
"R_2Y": 0.81,
"R_5Y": 1.24
},
{
"date": "10/20/16",
"R_2Y": 0.84,
"R_5Y": 1.26
},
{
"date": "10/21/16",
"R_2Y": 0.84,
"R_5Y": 1.25
},
{
"date": "10/24/16",
"R_2Y": 0.84,
"R_5Y": 1.27
},
{
"date": "10/25/16",
"R_2Y": 0.86,
"R_5Y": 1.29
},
{
"date": "10/26/16",
"R_2Y": 0.86,
"R_5Y": 1.3
},
{
"date": "10/27/16",
"R_2Y": 0.87,
"R_5Y": 1.33
},
{
"date": "10/28/16",
"R_2Y": 0.86,
"R_5Y": 1.33
},
{
"date": "10/31/16",
"R_2Y": 0.86,
"R_5Y": 1.31
},
{
"date": "11/01/16",
"R_2Y": 0.83,
"R_5Y": 1.3
},
{
"date": "11/02/16",
"R_2Y": 0.81,
"R_5Y": 1.26
},
{
"date": "11/03/16",
"R_2Y": 0.81,
"R_5Y": 1.26
},
{
"date": "11/04/16",
"R_2Y": 0.8,
"R_5Y": 1.24
},
{
"date": "11/07/16",
"R_2Y": 0.82,
"R_5Y": 1.29
},
{
"date": "11/08/16",
"R_2Y": 0.87,
"R_5Y": 1.34
},
{
"date": "11/09/16",
"R_2Y": 0.9,
"R_5Y": 1.49
},
{
"date": "11/10/16",
"R_2Y": 0.92,
"R_5Y": 1.56
},
{
"date": "11/14/16",
"R_2Y": 1,
"R_5Y": 1.66
},
{
"date": "11/15/16",
"R_2Y": 1.02,
"R_5Y": 1.68
},
{
"date": "11/16/16",
"R_2Y": 1,
"R_5Y": 1.68
},
{
"date": "11/17/16",
"R_2Y": 1.04,
"R_5Y": 1.73
},
{
"date": "11/18/16",
"R_2Y": 1.07,
"R_5Y": 1.8
},
{
"date": "11/21/16",
"R_2Y": 1.08,
"R_5Y": 1.79
},
{
"date": "11/22/16",
"R_2Y": 1.07,
"R_5Y": 1.77
},
{
"date": "11/23/16",
"R_2Y": 1.12,
"R_5Y": 1.83
},
{
"date": "11/25/16",
"R_2Y": 1.12,
"R_5Y": 1.83
},
{
"date": "11/28/16",
"R_2Y": 1.11,
"R_5Y": 1.8
},
{
"date": "11/29/16",
"R_2Y": 1.09,
"R_5Y": 1.78
},
{
"date": "11/30/16",
"R_2Y": 1.11,
"R_5Y": 1.83
},
{
"date": "12/01/16",
"R_2Y": 1.14,
"R_5Y": 1.9
},
{
"date": "12/02/16",
"R_2Y": 1.11,
"R_5Y": 1.84
},
{
"date": "12/05/16",
"R_2Y": 1.13,
"R_5Y": 1.84
},
{
"date": "12/06/16",
"R_2Y": 1.12,
"R_5Y": 1.84
},
{
"date": "12/07/16",
"R_2Y": 1.1,
"R_5Y": 1.8
},
{
"date": "12/08/16",
"R_2Y": 1.12,
"R_5Y": 1.83
},
{
"date": "12/09/16",
"R_2Y": 1.15,
"R_5Y": 1.89
},
{
"date": "12/12/16",
"R_2Y": 1.15,
"R_5Y": 1.9
},
{
"date": "12/13/16",
"R_2Y": 1.17,
"R_5Y": 1.92
},
{
"date": "12/14/16",
"R_2Y": 1.27,
"R_5Y": 2.02
},
{
"date": "12/15/16",
"R_2Y": 1.29,
"R_5Y": 2.1
},
{
"date": "12/16/16",
"R_2Y": 1.28,
"R_5Y": 2.07
},
{
"date": "12/19/16",
"R_2Y": 1.24,
"R_5Y": 2.03
},
{
"date": "12/20/16",
"R_2Y": 1.25,
"R_5Y": 2.06
},
{
"date": "12/21/16",
"R_2Y": 1.21,
"R_5Y": 2.04
},
{
"date": "12/22/16",
"R_2Y": 1.22,
"R_5Y": 2.04
},
{
"date": "12/23/16",
"R_2Y": 1.22,
"R_5Y": 2.04
},
{
"date": "12/27/16",
"R_2Y": 1.28,
"R_5Y": 2.07
},
{
"date": "12/28/16",
"R_2Y": 1.26,
"R_5Y": 2.02
},
{
"date": "12/29/16",
"R_2Y": 1.22,
"R_5Y": 1.96
},
{
"date": "12/30/16",
"R_2Y": 1.2,
"R_5Y": 1.93
},
{
"date": "01/03/17",
"R_2Y": 1.22,
"R_5Y": 1.94
},
{
"date": "01/04/17",
"R_2Y": 1.24,
"R_5Y": 1.94
},
{
"date": "01/05/17",
"R_2Y": 1.17,
"R_5Y": 1.86
},
{
"date": "01/06/17",
"R_2Y": 1.22,
"R_5Y": 1.92
},
{
"date": "01/09/17",
"R_2Y": 1.21,
"R_5Y": 1.89
},
{
"date": "01/10/17",
"R_2Y": 1.19,
"R_5Y": 1.89
},
{
"date": "01/11/17",
"R_2Y": 1.2,
"R_5Y": 1.89
},
{
"date": "01/12/17",
"R_2Y": 1.18,
"R_5Y": 1.87
},
{
"date": "01/13/17",
"R_2Y": 1.21,
"R_5Y": 1.9
},
{
"date": "01/17/17",
"R_2Y": 1.17,
"R_5Y": 1.84
},
{
"date": "01/18/17",
"R_2Y": 1.23,
"R_5Y": 1.93
},
{
"date": "01/19/17",
"R_2Y": 1.25,
"R_5Y": 1.97
},
{
"date": "01/20/17",
"R_2Y": 1.2,
"R_5Y": 1.95
},
{
"date": "01/23/17",
"R_2Y": 1.16,
"R_5Y": 1.88
},
{
"date": "01/24/17",
"R_2Y": 1.21,
"R_5Y": 1.94
},
{
"date": "01/25/17",
"R_2Y": 1.23,
"R_5Y": 1.99
},
{
"date": "01/26/17",
"R_2Y": 1.21,
"R_5Y": 1.95
},
{
"date": "01/27/17",
"R_2Y": 1.22,
"R_5Y": 1.94
},
{
"date": "01/30/17",
"R_2Y": 1.22,
"R_5Y": 1.94
},
{
"date": "01/31/17",
"R_2Y": 1.19,
"R_5Y": 1.9
},
{
"date": "02/01/17",
"R_2Y": 1.22,
"R_5Y": 1.93
},
{
"date": "02/02/17",
"R_2Y": 1.21,
"R_5Y": 1.92
},
{
"date": "02/03/17",
"R_2Y": 1.21,
"R_5Y": 1.93
},
{
"date": "02/06/17",
"R_2Y": 1.16,
"R_5Y": 1.86
},
{
"date": "02/07/17",
"R_2Y": 1.16,
"R_5Y": 1.85
},
{
"date": "02/08/17",
"R_2Y": 1.15,
"R_5Y": 1.81
},
{
"date": "02/09/17",
"R_2Y": 1.2,
"R_5Y": 1.88
},
{
"date": "02/10/17",
"R_2Y": 1.2,
"R_5Y": 1.89
},
{
"date": "02/13/17",
"R_2Y": 1.2,
"R_5Y": 1.92
},
{
"date": "02/14/17",
"R_2Y": 1.25,
"R_5Y": 1.98
},
{
"date": "02/15/17",
"R_2Y": 1.27,
"R_5Y": 2.01
},
{
"date": "02/16/17",
"R_2Y": 1.22,
"R_5Y": 1.95
},
{
"date": "02/17/17",
"R_2Y": 1.21,
"R_5Y": 1.92
},
{
"date": "02/21/17",
"R_2Y": 1.22,
"R_5Y": 1.93
},
{
"date": "02/22/17",
"R_2Y": 1.22,
"R_5Y": 1.92
},
{
"date": "02/23/17",
"R_2Y": 1.18,
"R_5Y": 1.87
},
{
"date": "02/24/17",
"R_2Y": 1.12,
"R_5Y": 1.8
},
{
"date": "02/27/17",
"R_2Y": 1.2,
"R_5Y": 1.87
},
{
"date": "02/28/17",
"R_2Y": 1.22,
"R_5Y": 1.89
},
{
"date": "03/01/17",
"R_2Y": 1.29,
"R_5Y": 1.99
},
{
"date": "03/02/17",
"R_2Y": 1.32,
"R_5Y": 2.03
},
{
"date": "03/03/17",
"R_2Y": 1.32,
"R_5Y": 2.02
},
{
"date": "03/06/17",
"R_2Y": 1.31,
"R_5Y": 2.02
},
{
"date": "03/07/17",
"R_2Y": 1.32,
"R_5Y": 2.05
},
{
"date": "03/08/17",
"R_2Y": 1.36,
"R_5Y": 2.08
},
{
"date": "03/09/17",
"R_2Y": 1.37,
"R_5Y": 2.13
},
{
"date": "03/10/17",
"R_2Y": 1.36,
"R_5Y": 2.11
},
{
"date": "03/13/17",
"R_2Y": 1.4,
"R_5Y": 2.14
},
{
"date": "03/14/17",
"R_2Y": 1.4,
"R_5Y": 2.13
},
{
"date": "03/15/17",
"R_2Y": 1.33,
"R_5Y": 2.02
},
{
"date": "03/16/17",
"R_2Y": 1.35,
"R_5Y": 2.05
},
{
"date": "03/17/17",
"R_2Y": 1.33,
"R_5Y": 2.03
},
{
"date": "03/20/17",
"R_2Y": 1.3,
"R_5Y": 2
},
{
"date": "03/21/17",
"R_2Y": 1.27,
"R_5Y": 1.96
},
{
"date": "03/22/17",
"R_2Y": 1.27,
"R_5Y": 1.95
},
{
"date": "03/23/17",
"R_2Y": 1.26,
"R_5Y": 1.95
},
{
"date": "03/24/17",
"R_2Y": 1.26,
"R_5Y": 1.93
},
{
"date": "03/27/17",
"R_2Y": 1.27,
"R_5Y": 1.93
},
{
"date": "03/28/17",
"R_2Y": 1.3,
"R_5Y": 1.97
},
{
"date": "03/29/17",
"R_2Y": 1.26,
"R_5Y": 1.93
},
{
"date": "03/30/17",
"R_2Y": 1.28,
"R_5Y": 1.96
},
{
"date": "03/31/17",
"R_2Y": 1.27,
"R_5Y": 1.93
},
{
"date": "04/03/17",
"R_2Y": 1.24,
"R_5Y": 1.88
},
{
"date": "04/04/17",
"R_2Y": 1.25,
"R_5Y": 1.88
},
{
"date": "04/05/17",
"R_2Y": 1.24,
"R_5Y": 1.85
},
{
"date": "04/06/17",
"R_2Y": 1.24,
"R_5Y": 1.87
},
{
"date": "04/07/17",
"R_2Y": 1.29,
"R_5Y": 1.92
},
{
"date": "04/10/17",
"R_2Y": 1.29,
"R_5Y": 1.91
},
{
"date": "04/11/17",
"R_2Y": 1.24,
"R_5Y": 1.84
},
{
"date": "04/12/17",
"R_2Y": 1.24,
"R_5Y": 1.81
},
{
"date": "04/13/17",
"R_2Y": 1.21,
"R_5Y": 1.77
},
{
"date": "04/17/17",
"R_2Y": 1.21,
"R_5Y": 1.79
},
{
"date": "04/18/17",
"R_2Y": 1.18,
"R_5Y": 1.71
},
{
"date": "04/19/17",
"R_2Y": 1.19,
"R_5Y": 1.74
},
{
"date": "04/20/17",
"R_2Y": 1.21,
"R_5Y": 1.78
},
{
"date": "04/21/17",
"R_2Y": 1.2,
"R_5Y": 1.77
},
{
"date": "04/24/17",
"R_2Y": 1.25,
"R_5Y": 1.81
},
{
"date": "04/25/17",
"R_2Y": 1.29,
"R_5Y": 1.87
},
{
"date": "04/26/17",
"R_2Y": 1.28,
"R_5Y": 1.84
},
{
"date": "04/27/17",
"R_2Y": 1.25,
"R_5Y": 1.81
},
{
"date": "04/28/17",
"R_2Y": 1.28,
"R_5Y": 1.81
},
{
"date": "05/01/17",
"R_2Y": 1.28,
"R_5Y": 1.84
},
{
"date": "05/02/17",
"R_2Y": 1.27,
"R_5Y": 1.81
},
{
"date": "05/03/17",
"R_2Y": 1.3,
"R_5Y": 1.86
},
{
"date": "05/04/17",
"R_2Y": 1.32,
"R_5Y": 1.88
},
{
"date": "05/05/17",
"R_2Y": 1.32,
"R_5Y": 1.89
},
{
"date": "05/08/17",
"R_2Y": 1.33,
"R_5Y": 1.91
},
{
"date": "05/09/17",
"R_2Y": 1.37,
"R_5Y": 1.94
},
{
"date": "05/10/17",
"R_2Y": 1.35,
"R_5Y": 1.94
},
{
"date": "05/11/17",
"R_2Y": 1.35,
"R_5Y": 1.93
},
{
"date": "05/12/17",
"R_2Y": 1.29,
"R_5Y": 1.85
},
{
"date": "05/15/17",
"R_2Y": 1.31,
"R_5Y": 1.86
},
{
"date": "05/16/17",
"R_2Y": 1.29,
"R_5Y": 1.86
},
{
"date": "05/17/17",
"R_2Y": 1.26,
"R_5Y": 1.76
},
{
"date": "05/18/17",
"R_2Y": 1.27,
"R_5Y": 1.78
},
{
"date": "05/19/17",
"R_2Y": 1.28,
"R_5Y": 1.79
},
{
"date": "05/22/17",
"R_2Y": 1.29,
"R_5Y": 1.8
},
{
"date": "05/23/17",
"R_2Y": 1.31,
"R_5Y": 1.84
},
{
"date": "05/24/17",
"R_2Y": 1.29,
"R_5Y": 1.79
},
{
"date": "05/25/17",
"R_2Y": 1.3,
"R_5Y": 1.78
},
{
"date": "05/26/17",
"R_2Y": 1.3,
"R_5Y": 1.79
},
{
"date": "05/30/17",
"R_2Y": 1.28,
"R_5Y": 1.76
},
{
"date": "05/31/17",
"R_2Y": 1.28,
"R_5Y": 1.75
},
{
"date": "06/01/17",
"R_2Y": 1.28,
"R_5Y": 1.76
},
{
"date": "06/02/17",
"R_2Y": 1.28,
"R_5Y": 1.71
},
{
"date": "06/05/17",
"R_2Y": 1.32,
"R_5Y": 1.74
},
{
"date": "06/06/17",
"R_2Y": 1.3,
"R_5Y": 1.71
},
{
"date": "06/07/17",
"R_2Y": 1.32,
"R_5Y": 1.74
},
{
"date": "06/08/17",
"R_2Y": 1.33,
"R_5Y": 1.75
},
{
"date": "06/09/17",
"R_2Y": 1.35,
"R_5Y": 1.77
},
{
"date": "06/12/17",
"R_2Y": 1.35,
"R_5Y": 1.78
},
{
"date": "06/13/17",
"R_2Y": 1.38,
"R_5Y": 1.79
},
{
"date": "06/14/17",
"R_2Y": 1.35,
"R_5Y": 1.74
},
{
"date": "06/15/17",
"R_2Y": 1.35,
"R_5Y": 1.76
},
{
"date": "06/16/17",
"R_2Y": 1.32,
"R_5Y": 1.75
},
{
"date": "06/19/17",
"R_2Y": 1.36,
"R_5Y": 1.8
},
{
"date": "06/20/17",
"R_2Y": 1.36,
"R_5Y": 1.77
},
{
"date": "06/21/17",
"R_2Y": 1.36,
"R_5Y": 1.78
},
{
"date": "06/22/17",
"R_2Y": 1.34,
"R_5Y": 1.76
},
{
"date": "06/23/17",
"R_2Y": 1.34,
"R_5Y": 1.77
},
{
"date": "06/26/17",
"R_2Y": 1.36,
"R_5Y": 1.77
},
{
"date": "06/27/17",
"R_2Y": 1.38,
"R_5Y": 1.83
},
{
"date": "06/28/17",
"R_2Y": 1.34,
"R_5Y": 1.81
},
{
"date": "06/29/17",
"R_2Y": 1.38,
"R_5Y": 1.85
},
{
"date": "06/30/17",
"R_2Y": 1.38,
"R_5Y": 1.89
},
{
"date": "07/03/17",
"R_2Y": 1.41,
"R_5Y": 1.93
},
{
"date": "07/05/17",
"R_2Y": 1.41,
"R_5Y": 1.92
},
{
"date": "07/06/17",
"R_2Y": 1.4,
"R_5Y": 1.94
},
{
"date": "07/07/17",
"R_2Y": 1.4,
"R_5Y": 1.95
},
{
"date": "07/10/17",
"R_2Y": 1.4,
"R_5Y": 1.93
},
{
"date": "07/11/17",
"R_2Y": 1.37,
"R_5Y": 1.92
},
{
"date": "07/12/17",
"R_2Y": 1.35,
"R_5Y": 1.88
},
{
"date": "07/13/17",
"R_2Y": 1.37,
"R_5Y": 1.89
},
{
"date": "07/14/17",
"R_2Y": 1.35,
"R_5Y": 1.87
},
{
"date": "07/17/17",
"R_2Y": 1.36,
"R_5Y": 1.86
},
{
"date": "07/18/17",
"R_2Y": 1.36,
"R_5Y": 1.82
},
{
"date": "07/19/17",
"R_2Y": 1.37,
"R_5Y": 1.83
},
{
"date": "07/20/17",
"R_2Y": 1.37,
"R_5Y": 1.82
},
{
"date": "07/21/17",
"R_2Y": 1.36,
"R_5Y": 1.81
},
{
"date": "07/24/17",
"R_2Y": 1.37,
"R_5Y": 1.83
},
{
"date": "07/25/17",
"R_2Y": 1.4,
"R_5Y": 1.9
},
{
"date": "07/26/17",
"R_2Y": 1.36,
"R_5Y": 1.83
},
{
"date": "07/27/17",
"R_2Y": 1.36,
"R_5Y": 1.84
},
{
"date": "07/28/17",
"R_2Y": 1.34,
"R_5Y": 1.83
},
{
"date": "07/31/17",
"R_2Y": 1.34,
"R_5Y": 1.84
},
{
"date": "08/01/17",
"R_2Y": 1.34,
"R_5Y": 1.8
},
{
"date": "08/02/17",
"R_2Y": 1.36,
"R_5Y": 1.82
},
{
"date": "08/03/17",
"R_2Y": 1.34,
"R_5Y": 1.79
},
{
"date": "08/04/17",
"R_2Y": 1.36,
"R_5Y": 1.82
},
{
"date": "08/07/17",
"R_2Y": 1.36,
"R_5Y": 1.81
},
{
"date": "08/08/17",
"R_2Y": 1.36,
"R_5Y": 1.84
},
{
"date": "08/09/17",
"R_2Y": 1.33,
"R_5Y": 1.81
},
{
"date": "08/10/17",
"R_2Y": 1.33,
"R_5Y": 1.78
},
{
"date": "08/11/17",
"R_2Y": 1.3,
"R_5Y": 1.74
},
{
"date": "08/14/17",
"R_2Y": 1.33,
"R_5Y": 1.77
},
{
"date": "08/15/17",
"R_2Y": 1.35,
"R_5Y": 1.83
},
{
"date": "08/16/17",
"R_2Y": 1.33,
"R_5Y": 1.79
},
{
"date": "08/17/17",
"R_2Y": 1.32,
"R_5Y": 1.76
},
{
"date": "08/18/17",
"R_2Y": 1.33,
"R_5Y": 1.77
},
{
"date": "08/21/17",
"R_2Y": 1.32,
"R_5Y": 1.76
},
{
"date": "08/22/17",
"R_2Y": 1.33,
"R_5Y": 1.8
},
{
"date": "08/23/17",
"R_2Y": 1.32,
"R_5Y": 1.76
},
{
"date": "08/24/17",
"R_2Y": 1.33,
"R_5Y": 1.78
},
{
"date": "08/25/17",
"R_2Y": 1.35,
"R_5Y": 1.77
},
{
"date": "08/28/17",
"R_2Y": 1.33,
"R_5Y": 1.74
},
{
"date": "08/29/17",
"R_2Y": 1.33,
"R_5Y": 1.7
},
{
"date": "08/30/17",
"R_2Y": 1.33,
"R_5Y": 1.72
},
{
"date": "08/31/17",
"R_2Y": 1.33,
"R_5Y": 1.7
},
{
"date": "09/01/17",
"R_2Y": 1.35,
"R_5Y": 1.73
},
{
"date": "09/05/17",
"R_2Y": 1.3,
"R_5Y": 1.65
},
{
"date": "09/06/17",
"R_2Y": 1.3,
"R_5Y": 1.69
},
{
"date": "09/07/17",
"R_2Y": 1.27,
"R_5Y": 1.63
},
{
"date": "09/08/17",
"R_2Y": 1.27,
"R_5Y": 1.64
},
{
"date": "09/11/17",
"R_2Y": 1.32,
"R_5Y": 1.71
},
{
"date": "09/12/17",
"R_2Y": 1.33,
"R_5Y": 1.75
},
{
"date": "09/13/17",
"R_2Y": 1.35,
"R_5Y": 1.78
},
{
"date": "09/14/17",
"R_2Y": 1.37,
"R_5Y": 1.79
},
{
"date": "09/15/17",
"R_2Y": 1.39,
"R_5Y": 1.81
},
{
"date": "09/18/17",
"R_2Y": 1.4,
"R_5Y": 1.83
},
{
"date": "09/19/17",
"R_2Y": 1.4,
"R_5Y": 1.84
},
{
"date": "09/20/17",
"R_2Y": 1.45,
"R_5Y": 1.89
},
{
"date": "09/21/17",
"R_2Y": 1.45,
"R_5Y": 1.89
},
{
"date": "09/22/17",
"R_2Y": 1.46,
"R_5Y": 1.88
},
{
"date": "09/25/17",
"R_2Y": 1.44,
"R_5Y": 1.85
},
{
"date": "09/26/17",
"R_2Y": 1.45,
"R_5Y": 1.87
},
{
"date": "09/27/17",
"R_2Y": 1.47,
"R_5Y": 1.91
},
{
"date": "09/28/17",
"R_2Y": 1.45,
"R_5Y": 1.89
},
{
"date": "09/29/17",
"R_2Y": 1.47,
"R_5Y": 1.92
},
{
"date": "10/02/17",
"R_2Y": 1.49,
"R_5Y": 1.94
},
{
"date": "10/03/17",
"R_2Y": 1.47,
"R_5Y": 1.92
},
{
"date": "10/04/17",
"R_2Y": 1.47,
"R_5Y": 1.92
},
{
"date": "10/05/17",
"R_2Y": 1.49,
"R_5Y": 1.94
},
{
"date": "10/06/17",
"R_2Y": 1.54,
"R_5Y": 1.97
},
{
"date": "10/10/17",
"R_2Y": 1.51,
"R_5Y": 1.95
},
{
"date": "10/11/17",
"R_2Y": 1.51,
"R_5Y": 1.95
},
{
"date": "10/12/17",
"R_2Y": 1.51,
"R_5Y": 1.95
},
{
"date": "10/13/17",
"R_2Y": 1.51,
"R_5Y": 1.91
},
{
"date": "10/16/17",
"R_2Y": 1.54,
"R_5Y": 1.95
},
{
"date": "10/17/17",
"R_2Y": 1.54,
"R_5Y": 1.97
},
{
"date": "10/18/17",
"R_2Y": 1.59,
"R_5Y": 1.99
},
{
"date": "10/19/17",
"R_2Y": 1.58,
"R_5Y": 1.98
},
{
"date": "10/20/17",
"R_2Y": 1.6,
"R_5Y": 2.03
},
{
"date": "10/23/17",
"R_2Y": 1.58,
"R_5Y": 2.01
},
{
"date": "10/24/17",
"R_2Y": 1.6,
"R_5Y": 2.05
},
{
"date": "10/25/17",
"R_2Y": 1.61,
"R_5Y": 2.06
},
{
"date": "10/26/17",
"R_2Y": 1.63,
"R_5Y": 2.07
},
{
"date": "10/27/17",
"R_2Y": 1.59,
"R_5Y": 2.03
},
{
"date": "10/30/17",
"R_2Y": 1.58,
"R_5Y": 2
},
{
"date": "10/31/17",
"R_2Y": 1.6,
"R_5Y": 2.01
},
{
"date": "11/01/17",
"R_2Y": 1.61,
"R_5Y": 2.01
},
{
"date": "11/02/17",
"R_2Y": 1.61,
"R_5Y": 2
},
{
"date": "11/03/17",
"R_2Y": 1.63,
"R_5Y": 1.99
},
{
"date": "11/06/17",
"R_2Y": 1.61,
"R_5Y": 1.99
},
{
"date": "11/07/17",
"R_2Y": 1.63,
"R_5Y": 1.99
},
{
"date": "11/08/17",
"R_2Y": 1.65,
"R_5Y": 2.01
},
{
"date": "11/09/17",
"R_2Y": 1.63,
"R_5Y": 2.01
},
{
"date": "11/10/17",
"R_2Y": 1.67,
"R_5Y": 2.06
},
{
"date": "11/13/17",
"R_2Y": 1.7,
"R_5Y": 2.08
},
{
"date": "11/14/17",
"R_2Y": 1.68,
"R_5Y": 2.06
},
{
"date": "11/15/17",
"R_2Y": 1.68,
"R_5Y": 2.04
},
{
"date": "11/16/17",
"R_2Y": 1.72,
"R_5Y": 2.07
},
{
"date": "11/17/17",
"R_2Y": 1.73,
"R_5Y": 2.06
},
{
"date": "11/20/17",
"R_2Y": 1.77,
"R_5Y": 2.09
},
{
"date": "11/21/17",
"R_2Y": 1.77,
"R_5Y": 2.11
},
{
"date": "11/22/17",
"R_2Y": 1.74,
"R_5Y": 2.05
},
{
"date": "11/24/17",
"R_2Y": 1.75,
"R_5Y": 2.07
},
{
"date": "11/27/17",
"R_2Y": 1.74,
"R_5Y": 2.06
},
{
"date": "11/28/17",
"R_2Y": 1.75,
"R_5Y": 2.07
},
{
"date": "11/29/17",
"R_2Y": 1.78,
"R_5Y": 2.09
},
{
"date": "11/30/17",
"R_2Y": 1.78,
"R_5Y": 2.14
},
{
"date": "12/01/17",
"R_2Y": 1.78,
"R_5Y": 2.13
},
{
"date": "12/04/17",
"R_2Y": 1.8,
"R_5Y": 2.15
},
{
"date": "12/05/17",
"R_2Y": 1.83,
"R_5Y": 2.15
},
{
"date": "12/06/17",
"R_2Y": 1.78,
"R_5Y": 2.11
},
{
"date": "12/07/17",
"R_2Y": 1.8,
"R_5Y": 2.14
},
{
"date": "12/08/17",
"R_2Y": 1.8,
"R_5Y": 2.14
},
{
"date": "12/11/17",
"R_2Y": 1.82,
"R_5Y": 2.16
},
{
"date": "12/12/17",
"R_2Y": 1.83,
"R_5Y": 2.18
},
{
"date": "12/13/17",
"R_2Y": 1.79,
"R_5Y": 2.12
},
{
"date": "12/14/17",
"R_2Y": 1.82,
"R_5Y": 2.14
},
{
"date": "12/15/17",
"R_2Y": 1.84,
"R_5Y": 2.16
},
{
"date": "12/18/17",
"R_2Y": 1.84,
"R_5Y": 2.17
},
{
"date": "12/19/17",
"R_2Y": 1.87,
"R_5Y": 2.23
},
{
"date": "12/20/17",
"R_2Y": 1.87,
"R_5Y": 2.24
},
{
"date": "12/21/17",
"R_2Y": 1.89,
"R_5Y": 2.26
},
{
"date": "12/22/17",
"R_2Y": 1.91,
"R_5Y": 2.26
},
{
"date": "12/26/17",
"R_2Y": 1.92,
"R_5Y": 2.25
},
{
"date": "12/27/17",
"R_2Y": 1.89,
"R_5Y": 2.22
},
{
"date": "12/28/17",
"R_2Y": 1.91,
"R_5Y": 2.23
},
{
"date": "12/29/17",
"R_2Y": 1.89,
"R_5Y": 2.2
},
{
"date": "01/02/18",
"R_2Y": 1.92,
"R_5Y": 2.25
},
{
"date": "01/03/18",
"R_2Y": 1.94,
"R_5Y": 2.25
},
{
"date": "01/04/18",
"R_2Y": 1.96,
"R_5Y": 2.27
},
{
"date": "01/05/18",
"R_2Y": 1.96,
"R_5Y": 2.29
},
{
"date": "01/08/18",
"R_2Y": 1.96,
"R_5Y": 2.29
},
{
"date": "01/09/18",
"R_2Y": 1.98,
"R_5Y": 2.33
},
{
"date": "01/10/18",
"R_2Y": 1.98,
"R_5Y": 2.32
},
{
"date": "01/11/18",
"R_2Y": 1.98,
"R_5Y": 2.32
},
{
"date": "01/12/18",
"R_2Y": 1.99,
"R_5Y": 2.35
},
{
"date": "01/16/18",
"R_2Y": 2.03,
"R_5Y": 2.36
},
{
"date": "01/17/18",
"R_2Y": 2.05,
"R_5Y": 2.39
},
{
"date": "01/18/18",
"R_2Y": 2.05,
"R_5Y": 2.43
},
{
"date": "01/19/18",
"R_2Y": 2.06,
"R_5Y": 2.45
},
{
"date": "01/22/18",
"R_2Y": 2.08,
"R_5Y": 2.46
},
{
"date": "01/23/18",
"R_2Y": 2.06,
"R_5Y": 2.43
},
{
"date": "01/24/18",
"R_2Y": 2.08,
"R_5Y": 2.43
},
{
"date": "01/25/18",
"R_2Y": 2.08,
"R_5Y": 2.41
},
{
"date": "01/26/18",
"R_2Y": 2.13,
"R_5Y": 2.47
},
{
"date": "01/29/18",
"R_2Y": 2.11,
"R_5Y": 2.49
},
{
"date": "01/30/18",
"R_2Y": 2.13,
"R_5Y": 2.51
},
{
"date": "01/31/18",
"R_2Y": 2.14,
"R_5Y": 2.52
},
{
"date": "02/01/18",
"R_2Y": 2.16,
"R_5Y": 2.56
},
{
"date": "02/02/18",
"R_2Y": 2.15,
"R_5Y": 2.58
},
{
"date": "02/05/18",
"R_2Y": 2.08,
"R_5Y": 2.5
},
{
"date": "02/06/18",
"R_2Y": 2.1,
"R_5Y": 2.52
},
{
"date": "02/07/18",
"R_2Y": 2.15,
"R_5Y": 2.57
},
{
"date": "02/08/18",
"R_2Y": 2.13,
"R_5Y": 2.57
},
{
"date": "02/09/18",
"R_2Y": 2.05,
"R_5Y": 2.52
},
{
"date": "02/12/18",
"R_2Y": 2.09,
"R_5Y": 2.56
},
{
"date": "02/13/18",
"R_2Y": 2.1,
"R_5Y": 2.54
},
{
"date": "02/14/18",
"R_2Y": 2.17,
"R_5Y": 2.65
},
{
"date": "02/15/18",
"R_2Y": 2.19,
"R_5Y": 2.65
},
{
"date": "02/16/18",
"R_2Y": 2.21,
"R_5Y": 2.63
},
{
"date": "02/20/18",
"R_2Y": 2.25,
"R_5Y": 2.65
},
{
"date": "02/21/18",
"R_2Y": 2.26,
"R_5Y": 2.69
},
{
"date": "02/22/18",
"R_2Y": 2.25,
"R_5Y": 2.66
},
{
"date": "02/23/18",
"R_2Y": 2.25,
"R_5Y": 2.62
},
{
"date": "02/26/18",
"R_2Y": 2.22,
"R_5Y": 2.6
},
{
"date": "02/27/18",
"R_2Y": 2.27,
"R_5Y": 2.67
},
{
"date": "02/28/18",
"R_2Y": 2.25,
"R_5Y": 2.65
},
{
"date": "03/01/18",
"R_2Y": 2.22,
"R_5Y": 2.58
},
{
"date": "03/02/18",
"R_2Y": 2.25,
"R_5Y": 2.63
},
{
"date": "03/05/18",
"R_2Y": 2.24,
"R_5Y": 2.65
},
{
"date": "03/06/18",
"R_2Y": 2.25,
"R_5Y": 2.65
},
{
"date": "03/07/18",
"R_2Y": 2.25,
"R_5Y": 2.65
},
{
"date": "03/08/18",
"R_2Y": 2.25,
"R_5Y": 2.63
},
{
"date": "03/09/18",
"R_2Y": 2.27,
"R_5Y": 2.65
},
{
"date": "03/12/18",
"R_2Y": 2.27,
"R_5Y": 2.64
},
{
"date": "03/13/18",
"R_2Y": 2.26,
"R_5Y": 2.62
},
{
"date": "03/14/18",
"R_2Y": 2.26,
"R_5Y": 2.61
},
{
"date": "03/15/18",
"R_2Y": 2.29,
"R_5Y": 2.62
},
{
"date": "03/16/18",
"R_2Y": 2.31,
"R_5Y": 2.65
},
{
"date": "03/19/18",
"R_2Y": 2.31,
"R_5Y": 2.65
},
{
"date": "03/20/18",
"R_2Y": 2.34,
"R_5Y": 2.69
},
{
"date": "03/21/18",
"R_2Y": 2.31,
"R_5Y": 2.69
},
{
"date": "03/22/18",
"R_2Y": 2.29,
"R_5Y": 2.63
},
{
"date": "03/23/18",
"R_2Y": 2.28,
"R_5Y": 2.61
},
{
"date": "03/26/18",
"R_2Y": 2.33,
"R_5Y": 2.64
},
{
"date": "03/27/18",
"R_2Y": 2.26,
"R_5Y": 2.58
},
{
"date": "03/28/18",
"R_2Y": 2.28,
"R_5Y": 2.59
},
{
"date": "03/29/18",
"R_2Y": 2.27,
"R_5Y": 2.56
},
{
"date": "04/02/18",
"R_2Y": 2.25,
"R_5Y": 2.55
},
{
"date": "04/03/18",
"R_2Y": 2.28,
"R_5Y": 2.6
},
{
"date": "04/04/18",
"R_2Y": 2.28,
"R_5Y": 2.61
},
{
"date": "04/05/18",
"R_2Y": 2.3,
"R_5Y": 2.64
},
{
"date": "04/06/18",
"R_2Y": 2.27,
"R_5Y": 2.58
},
{
"date": "04/09/18",
"R_2Y": 2.29,
"R_5Y": 2.6
},
{
"date": "04/10/18",
"R_2Y": 2.32,
"R_5Y": 2.62
},
{
"date": "04/11/18",
"R_2Y": 2.32,
"R_5Y": 2.62
},
{
"date": "04/12/18",
"R_2Y": 2.34,
"R_5Y": 2.67
},
{
"date": "04/13/18",
"R_2Y": 2.37,
"R_5Y": 2.67
},
{
"date": "04/16/18",
"R_2Y": 2.39,
"R_5Y": 2.69
},
{
"date": "04/17/18",
"R_2Y": 2.41,
"R_5Y": 2.68
},
{
"date": "04/18/18",
"R_2Y": 2.42,
"R_5Y": 2.73
},
{
"date": "04/19/18",
"R_2Y": 2.44,
"R_5Y": 2.77
},
{
"date": "04/20/18",
"R_2Y": 2.46,
"R_5Y": 2.8
},
{
"date": "04/23/18",
"R_2Y": 2.49,
"R_5Y": 2.83
},
{
"date": "04/24/18",
"R_2Y": 2.48,
"R_5Y": 2.83
},
{
"date": "04/25/18",
"R_2Y": 2.49,
"R_5Y": 2.84
},
{
"date": "04/26/18",
"R_2Y": 2.49,
"R_5Y": 2.82
},
{
"date": "04/27/18",
"R_2Y": 2.49,
"R_5Y": 2.8
},
{
"date": "04/30/18",
"R_2Y": 2.49,
"R_5Y": 2.79
},
{
"date": "05/01/18",
"R_2Y": 2.5,
"R_5Y": 2.82
},
{
"date": "05/02/18",
"R_2Y": 2.49,
"R_5Y": 2.8
},
{
"date": "05/03/18",
"R_2Y": 2.49,
"R_5Y": 2.78
},
{
"date": "05/04/18",
"R_2Y": 2.51,
"R_5Y": 2.78
},
{
"date": "05/07/18",
"R_2Y": 2.49,
"R_5Y": 2.78
},
{
"date": "05/08/18",
"R_2Y": 2.51,
"R_5Y": 2.81
},
{
"date": "05/09/18",
"R_2Y": 2.54,
"R_5Y": 2.84
},
{
"date": "05/10/18",
"R_2Y": 2.54,
"R_5Y": 2.83
},
{
"date": "05/11/18",
"R_2Y": 2.54,
"R_5Y": 2.84
},
{
"date": "05/14/18",
"R_2Y": 2.55,
"R_5Y": 2.85
},
{
"date": "05/15/18",
"R_2Y": 2.58,
"R_5Y": 2.92
},
{
"date": "05/16/18",
"R_2Y": 2.58,
"R_5Y": 2.94
},
{
"date": "05/17/18",
"R_2Y": 2.57,
"R_5Y": 2.94
},
{
"date": "05/18/18",
"R_2Y": 2.55,
"R_5Y": 2.9
},
{
"date": "05/21/18",
"R_2Y": 2.58,
"R_5Y": 2.9
},
{
"date": "05/22/18",
"R_2Y": 2.59,
"R_5Y": 2.9
},
{
"date": "05/23/18",
"R_2Y": 2.53,
"R_5Y": 2.83
},
{
"date": "05/24/18",
"R_2Y": 2.5,
"R_5Y": 2.82
},
{
"date": "05/25/18",
"R_2Y": 2.48,
"R_5Y": 2.76
},
{
"date": "05/29/18",
"R_2Y": 2.32,
"R_5Y": 2.58
},
{
"date": "05/30/18",
"R_2Y": 2.42,
"R_5Y": 2.67
},
{
"date": "05/31/18",
"R_2Y": 2.4,
"R_5Y": 2.68
},
{
"date": "06/01/18",
"R_2Y": 2.47,
"R_5Y": 2.74
},
{
"date": "06/04/18",
"R_2Y": 2.52,
"R_5Y": 2.78
},
{
"date": "06/05/18",
"R_2Y": 2.49,
"R_5Y": 2.76
},
{
"date": "06/06/18",
"R_2Y": 2.52,
"R_5Y": 2.81
},
{
"date": "06/07/18",
"R_2Y": 2.5,
"R_5Y": 2.77
},
{
"date": "06/08/18",
"R_2Y": 2.5,
"R_5Y": 2.77
},
{
"date": "06/11/18",
"R_2Y": 2.52,
"R_5Y": 2.8
},
{
"date": "06/12/18",
"R_2Y": 2.54,
"R_5Y": 2.81
},
{
"date": "06/13/18",
"R_2Y": 2.59,
"R_5Y": 2.85
},
{
"date": "06/14/18",
"R_2Y": 2.59,
"R_5Y": 2.81
},
{
"date": "06/15/18",
"R_2Y": 2.55,
"R_5Y": 2.81
},
{
"date": "06/18/18",
"R_2Y": 2.56,
"R_5Y": 2.8
},
{
"date": "06/19/18",
"R_2Y": 2.54,
"R_5Y": 2.77
},
{
"date": "06/20/18",
"R_2Y": 2.56,
"R_5Y": 2.8
},
{
"date": "06/21/18",
"R_2Y": 2.56,
"R_5Y": 2.77
},
{
"date": "06/22/18",
"R_2Y": 2.56,
"R_5Y": 2.77
},
{
"date": "06/25/18",
"R_2Y": 2.54,
"R_5Y": 2.75
},
{
"date": "06/26/18",
"R_2Y": 2.53,
"R_5Y": 2.75
},
{
"date": "06/27/18",
"R_2Y": 2.52,
"R_5Y": 2.71
},
{
"date": "06/28/18",
"R_2Y": 2.52,
"R_5Y": 2.73
},
{
"date": "06/29/18",
"R_2Y": 2.52,
"R_5Y": 2.73
},
{
"date": "07/02/18",
"R_2Y": 2.57,
"R_5Y": 2.75
},
{
"date": "07/03/18",
"R_2Y": 2.53,
"R_5Y": 2.72
},
{
"date": "07/05/18",
"R_2Y": 2.55,
"R_5Y": 2.74
},
{
"date": "07/06/18",
"R_2Y": 2.53,
"R_5Y": 2.71
},
{
"date": "07/09/18",
"R_2Y": 2.57,
"R_5Y": 2.75
},
{
"date": "07/10/18",
"R_2Y": 2.59,
"R_5Y": 2.77
},
{
"date": "07/11/18",
"R_2Y": 2.58,
"R_5Y": 2.74
},
{
"date": "07/12/18",
"R_2Y": 2.6,
"R_5Y": 2.75
},
{
"date": "07/13/18",
"R_2Y": 2.59,
"R_5Y": 2.73
},
{
"date": "07/16/18",
"R_2Y": 2.59,
"R_5Y": 2.75
},
{
"date": "07/17/18",
"R_2Y": 2.62,
"R_5Y": 2.76
},
{
"date": "07/18/18",
"R_2Y": 2.6,
"R_5Y": 2.77
},
{
"date": "07/19/18",
"R_2Y": 2.6,
"R_5Y": 2.74
},
{
"date": "07/20/18",
"R_2Y": 2.6,
"R_5Y": 2.77
},
{
"date": "07/23/18",
"R_2Y": 2.64,
"R_5Y": 2.83
},
{
"date": "07/24/18",
"R_2Y": 2.63,
"R_5Y": 2.83
},
{
"date": "07/25/18",
"R_2Y": 2.66,
"R_5Y": 2.82
},
{
"date": "07/26/18",
"R_2Y": 2.69,
"R_5Y": 2.86
},
{
"date": "07/27/18",
"R_2Y": 2.67,
"R_5Y": 2.84
},
{
"date": "07/30/18",
"R_2Y": 2.66,
"R_5Y": 2.85
},
{
"date": "07/31/18",
"R_2Y": 2.67,
"R_5Y": 2.85
},
{
"date": "08/01/18",
"R_2Y": 2.67,
"R_5Y": 2.87
},
{
"date": "08/02/18",
"R_2Y": 2.66,
"R_5Y": 2.85
},
{
"date": "08/03/18",
"R_2Y": 2.63,
"R_5Y": 2.82
},
{
"date": "08/06/18",
"R_2Y": 2.64,
"R_5Y": 2.8
},
{
"date": "08/07/18",
"R_2Y": 2.68,
"R_5Y": 2.84
},
{
"date": "08/08/18",
"R_2Y": 2.68,
"R_5Y": 2.83
},
{
"date": "08/09/18",
"R_2Y": 2.64,
"R_5Y": 2.8
},
{
"date": "08/10/18",
"R_2Y": 2.61,
"R_5Y": 2.75
},
{
"date": "08/13/18",
"R_2Y": 2.61,
"R_5Y": 2.75
},
{
"date": "08/14/18",
"R_2Y": 2.63,
"R_5Y": 2.77
},
{
"date": "08/15/18",
"R_2Y": 2.61,
"R_5Y": 2.73
},
{
"date": "08/16/18",
"R_2Y": 2.63,
"R_5Y": 2.75
},
{
"date": "08/17/18",
"R_2Y": 2.61,
"R_5Y": 2.75
},
{
"date": "08/20/18",
"R_2Y": 2.6,
"R_5Y": 2.7
},
{
"date": "08/21/18",
"R_2Y": 2.61,
"R_5Y": 2.73
},
{
"date": "08/22/18",
"R_2Y": 2.6,
"R_5Y": 2.7
},
{
"date": "08/23/18",
"R_2Y": 2.61,
"R_5Y": 2.72
},
{
"date": "08/24/18",
"R_2Y": 2.63,
"R_5Y": 2.72
},
{
"date": "08/27/18",
"R_2Y": 2.67,
"R_5Y": 2.74
},
{
"date": "08/28/18",
"R_2Y": 2.67,
"R_5Y": 2.77
},
{
"date": "08/29/18",
"R_2Y": 2.67,
"R_5Y": 2.78
},
{
"date": "08/30/18",
"R_2Y": 2.64,
"R_5Y": 2.75
},
{
"date": "08/31/18",
"R_2Y": 2.62,
"R_5Y": 2.74
},
{
"date": "09/04/18",
"R_2Y": 2.66,
"R_5Y": 2.78
},
{
"date": "09/05/18",
"R_2Y": 2.66,
"R_5Y": 2.77
},
{
"date": "09/06/18",
"R_2Y": 2.64,
"R_5Y": 2.76
},
{
"date": "09/07/18",
"R_2Y": 2.71,
"R_5Y": 2.82
},
{
"date": "09/10/18",
"R_2Y": 2.73,
"R_5Y": 2.83
},
{
"date": "09/11/18",
"R_2Y": 2.76,
"R_5Y": 2.87
},
{
"date": "09/12/18",
"R_2Y": 2.74,
"R_5Y": 2.87
},
{
"date": "09/13/18",
"R_2Y": 2.76,
"R_5Y": 2.87
},
{
"date": "09/14/18",
"R_2Y": 2.78,
"R_5Y": 2.9
},
{
"date": "09/17/18",
"R_2Y": 2.78,
"R_5Y": 2.89
},
{
"date": "09/18/18",
"R_2Y": 2.81,
"R_5Y": 2.94
},
{
"date": "09/19/18",
"R_2Y": 2.81,
"R_5Y": 2.96
},
{
"date": "09/20/18",
"R_2Y": 2.81,
"R_5Y": 2.96
},
{
"date": "09/21/18",
"R_2Y": 2.81,
"R_5Y": 2.95
},
{
"date": "09/24/18",
"R_2Y": 2.83,
"R_5Y": 2.96
},
{
"date": "09/25/18",
"R_2Y": 2.83,
"R_5Y": 2.99
},
{
"date": "09/26/18",
"R_2Y": 2.83,
"R_5Y": 2.96
},
{
"date": "09/27/18",
"R_2Y": 2.83,
"R_5Y": 2.96
},
{
"date": "09/28/18",
"R_2Y": 2.81,
"R_5Y": 2.94
},
{
"date": "10/01/18",
"R_2Y": 2.82,
"R_5Y": 2.96
},
{
"date": "10/02/18",
"R_2Y": 2.82,
"R_5Y": 2.94
},
{
"date": "10/03/18",
"R_2Y": 2.85,
"R_5Y": 3.02
},
{
"date": "10/04/18",
"R_2Y": 2.87,
"R_5Y": 3.05
},
{
"date": "10/05/18",
"R_2Y": 2.88,
"R_5Y": 3.07
},
{
"date": "10/09/18",
"R_2Y": 2.88,
"R_5Y": 3.05
},
{
"date": "10/10/18",
"R_2Y": 2.88,
"R_5Y": 3.05
},
{
"date": "10/11/18",
"R_2Y": 2.85,
"R_5Y": 3
},
{
"date": "10/12/18",
"R_2Y": 2.85,
"R_5Y": 3
},
{
"date": "10/15/18",
"R_2Y": 2.85,
"R_5Y": 3.01
},
{
"date": "10/16/18",
"R_2Y": 2.87,
"R_5Y": 3.02
},
{
"date": "10/17/18",
"R_2Y": 2.89,
"R_5Y": 3.04
},
{
"date": "10/18/18",
"R_2Y": 2.87,
"R_5Y": 3.03
},
{
"date": "10/19/18",
"R_2Y": 2.92,
"R_5Y": 3.05
},
{
"date": "10/22/18",
"R_2Y": 2.92,
"R_5Y": 3.05
},
{
"date": "10/23/18",
"R_2Y": 2.89,
"R_5Y": 3.01
},
{
"date": "10/24/18",
"R_2Y": 2.84,
"R_5Y": 2.94
},
{
"date": "10/25/18",
"R_2Y": 2.86,
"R_5Y": 2.98
},
{
"date": "10/26/18",
"R_2Y": 2.81,
"R_5Y": 2.91
},
{
"date": "10/29/18",
"R_2Y": 2.81,
"R_5Y": 2.91
},
{
"date": "10/30/18",
"R_2Y": 2.84,
"R_5Y": 2.94
},
{
"date": "10/31/18",
"R_2Y": 2.87,
"R_5Y": 2.98
},
{
"date": "11/01/18",
"R_2Y": 2.84,
"R_5Y": 2.96
},
{
"date": "11/02/18",
"R_2Y": 2.91,
"R_5Y": 3.04
},
{
"date": "11/05/18",
"R_2Y": 2.91,
"R_5Y": 3.03
},
{
"date": "11/06/18",
"R_2Y": 2.93,
"R_5Y": 3.05
},
{
"date": "11/07/18",
"R_2Y": 2.96,
"R_5Y": 3.07
},
{
"date": "11/08/18",
"R_2Y": 2.98,
"R_5Y": 3.09
},
{
"date": "11/09/18",
"R_2Y": 2.94,
"R_5Y": 3.05
},
{
"date": "11/13/18",
"R_2Y": 2.89,
"R_5Y": 2.99
},
{
"date": "11/14/18",
"R_2Y": 2.86,
"R_5Y": 2.95
},
{
"date": "11/15/18",
"R_2Y": 2.86,
"R_5Y": 2.94
},
{
"date": "11/16/18",
"R_2Y": 2.81,
"R_5Y": 2.9
},
{
"date": "11/19/18",
"R_2Y": 2.79,
"R_5Y": 2.87
},
{
"date": "11/20/18",
"R_2Y": 2.79,
"R_5Y": 2.88
},
{
"date": "11/21/18",
"R_2Y": 2.81,
"R_5Y": 2.89
},
{
"date": "11/23/18",
"R_2Y": 2.81,
"R_5Y": 2.88
},
{
"date": "11/26/18",
"R_2Y": 2.84,
"R_5Y": 2.9
},
{
"date": "11/27/18",
"R_2Y": 2.83,
"R_5Y": 2.89
},
{
"date": "11/28/18",
"R_2Y": 2.81,
"R_5Y": 2.87
},
{
"date": "11/29/18",
"R_2Y": 2.81,
"R_5Y": 2.85
},
{
"date": "11/30/18",
"R_2Y": 2.8,
"R_5Y": 2.84
},
{
"date": "12/03/18",
"R_2Y": 2.83,
"R_5Y": 2.83
},
{
"date": "12/04/18",
"R_2Y": 2.8,
"R_5Y": 2.79
},
{
"date": "12/06/18",
"R_2Y": 2.75,
"R_5Y": 2.75
},
{
"date": "12/07/18",
"R_2Y": 2.72,
"R_5Y": 2.7
},
{
"date": "12/10/18",
"R_2Y": 2.72,
"R_5Y": 2.71
},
{
"date": "12/11/18",
"R_2Y": 2.78,
"R_5Y": 2.75
},
{
"date": "12/12/18",
"R_2Y": 2.77,
"R_5Y": 2.77
},
{
"date": "12/13/18",
"R_2Y": 2.75,
"R_5Y": 2.75
},
{
"date": "12/14/18",
"R_2Y": 2.73,
"R_5Y": 2.73
},
{
"date": "12/17/18",
"R_2Y": 2.7,
"R_5Y": 2.69
},
{
"date": "12/18/18",
"R_2Y": 2.65,
"R_5Y": 2.65
},
{
"date": "12/19/18",
"R_2Y": 2.63,
"R_5Y": 2.62
},
{
"date": "12/20/18",
"R_2Y": 2.67,
"R_5Y": 2.65
},
{
"date": "12/21/18",
"R_2Y": 2.63,
"R_5Y": 2.64
},
{
"date": "12/24/18",
"R_2Y": 2.55,
"R_5Y": 2.58
}
]
var margin = {top: 10, right: 50, bottom: 50, left: 50},
width = 960 - margin.left - margin.right,
height = 500 - margin.bottom - margin.top;
// Creates the SVG container
var svg = d3.select("body").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")")
.attr("width", width )
.attr("height", height)
// Creates the plot area for the yield curve
var plot = svg.append("g")
.attr("width", width )
.attr("height", height - 20);
var yieldCurve = plot.append("path")
.attr("class", "yieldcurve");
var curveX = d3.scale.linear()
.domain([0,10])
.range([0,width]);
var curveY = d3.scale.linear()
.domain([0,3])
.range([height - 50 , 0])
var curveXaxis = plot.append("g")
.attr("class", "plot x axis")
.attr("transform", "translate(0," + (+height - 50) + ")")
.call(d3.svg.axis()
.scale(curveX)
.orient("bottom"))
var curveYaxis = plot.append("g")
.attr("class", "plot y axis")
//.attr("transform", "translate(0," + height + ")")
.call(d3.svg.axis()
.scale(curveY)
.orient("left"))
// Add the text label for the x axis
svg.append("text")
.attr("transform", "translate(" + (width / 2) + " ," + (height + margin.bottom - 65) + ")")
.style("text-anchor", "middle")
.text("Bond Maturity (in years)");
// Labels the Y axis
svg.append("text")
.attr("transform", "rotate(-90)")
.attr("y", 0 - margin.left)
.attr("x",0 - (height / 2))
.attr("dy", "1em")
.style("text-anchor", "middle")
.text("Percent Yield");
var line = d3.svg.line()
.x(function(d) { return curveX(d.maturity); })
.y(function(d) { return curveY(d.yield); });
// Creates the date slider
var x = d3.time.scale()
.domain(d3.extent(data,function(d){return new Date(d.date)}))
.range([0, width])
.clamp(true);
var brush = d3.svg.brush()
.x(x)
.extent([x.domain()[0],x.domain()[0]])
.on("brush", brushed)
.on("brushend",brushended)
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(d3.svg.axis()
.scale(x)
.orient("bottom")
.ticks(d3.time.years)
.tickFormat(d3.time.format("%Y")))
.select(".domain")
.select(function() { return this.parentNode.appendChild(this.cloneNode(true)); })
.attr("class", "halo")
var slider = svg.append("g")
.attr("class", "slider")
.call(brush)
slider.selectAll(".extent,.resize")
.remove();
slider.select(".background")
.attr("height", height);
var handle = slider.append("circle")
.attr("class", "handle")
.attr("transform", "translate(0," + height + ")")
.attr("r", 9);
// Creates the animation upon loading
slider
.call(brush.event)
.transition()
.duration(10000)
.call(brush.extent([x.domain()[1],x.domain()[1]]))
.call(brush.event);
function brushed() {
var value;
if(typeof brush.extent() !== "undefined"){
value = brush.extent()[0];
if (d3.event.sourceEvent) { //
value = d3.time.day.offset(d3.time.month.round(x.invert(d3.mouse(this)[0])),-1);
brush.extent([value, value]);
}
} else value = x.domain()[0];
updateGraph( value );
handle.attr("cx", x(value));
}
function brushended(){
console.log("ended")
}
function updateGraph( value ){
var curvedata = data.filter(function(d){return d3.time.format("%Y-%m")(new Date(d.date))== d3.time.format("%Y-%m")(value)})[0];
var curvearray = [];
Object.keys(curvedata).map(function(key){
if(key !== "date"){
curvearray.push({
maturity : +key.replace(/(R_)([0-9]*)([M,Y])/,"$2") / +{M:12,Y:1}[key.replace(/(R_)([0-9])*([M,Y])/,"$3")] ,
yield : curvedata[key]
})
}
})
yieldCurve.datum(curvearray)
.attr("d", line)
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment