apiverve_treasuryyields 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +92 -15
- data/lib/apiverve_treasuryyields.rb +1 -1
- metadata +5 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e04328faff01e450756142f6cd13dfd45cb5996a405948844f4aecf351ba3f8a
|
|
4
|
+
data.tar.gz: 02c35f3e464e15440ca781ee2f76d6171d8ff7b76f2f9709066e511a783791ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b1eaabdb4750fccb52761fe6764042bad8d850b2b218e50107daa231eca4700a5fe56b67778f694ab66aea383a674e5c822dee95527a8625f5a5dfa3fc6d055
|
|
7
|
+
data.tar.gz: fe5b6fb1b74b4df4e1f30276347fa615c023207e78bc904a78fe6d452c7f71556e9107655d59d9d3f229f16a4ced47d6aca5508bb5bd972af93446d030d6f4ac
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Treasury Yields API - Ruby Gem
|
|
2
2
|
|
|
3
|
-
Treasury Yields provides current and historical US Treasury constant-maturity market yields across the full curve (1-month through 30-year), plus TIPS real yields.
|
|
3
|
+
Treasury Yields provides current and historical US Treasury constant-maturity market yields across the full curve (1-month through 30-year), plus TIPS real yields. Paid plans add curve spreads, inversion flags, the curve's shape and breakeven inflation for yield curve analysis.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -76,35 +76,112 @@ client = APIVerve::Treasuryyields::Client.new(
|
|
|
76
76
|
"status": "ok",
|
|
77
77
|
"error": null,
|
|
78
78
|
"data": {
|
|
79
|
-
"date": "
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
"date": "2026-10-23",
|
|
80
|
+
"yields": {
|
|
81
|
+
"1mo": 4.11,
|
|
82
|
+
"3mo": 4.22,
|
|
83
|
+
"6mo": 4.3,
|
|
84
|
+
"1yr": 4.44,
|
|
85
|
+
"2yr": 4.69,
|
|
86
|
+
"3yr": 4.75,
|
|
87
|
+
"5yr": 4.82,
|
|
88
|
+
"7yr": 4.89,
|
|
89
|
+
"10yr": 5,
|
|
90
|
+
"20yr": 5.37,
|
|
91
|
+
"30yr": 5.33
|
|
92
|
+
},
|
|
93
|
+
"realYields": {
|
|
94
|
+
"5yr": 2.34,
|
|
95
|
+
"7yr": 2.49,
|
|
96
|
+
"10yr": 2.66,
|
|
97
|
+
"20yr": 2.94,
|
|
98
|
+
"30yr": 3.08
|
|
99
|
+
},
|
|
100
|
+
"bills": 4.22,
|
|
101
|
+
"notes": 5,
|
|
102
|
+
"bonds": 5.33,
|
|
103
|
+
"tips": 2.66,
|
|
104
|
+
"frn": 4.22,
|
|
85
105
|
"changes": {
|
|
86
106
|
"bills": {
|
|
87
|
-
"change1d": 0
|
|
88
|
-
"direction": "
|
|
107
|
+
"change1d": 0,
|
|
108
|
+
"direction": "unchanged"
|
|
89
109
|
},
|
|
90
110
|
"notes": {
|
|
91
|
-
"change1d":
|
|
92
|
-
"direction": "
|
|
111
|
+
"change1d": 0.04,
|
|
112
|
+
"direction": "up"
|
|
93
113
|
},
|
|
94
114
|
"bonds": {
|
|
95
|
-
"change1d": 0.
|
|
115
|
+
"change1d": 0.04,
|
|
96
116
|
"direction": "up"
|
|
97
117
|
},
|
|
98
118
|
"tips": {
|
|
119
|
+
"change1d": 0.02,
|
|
120
|
+
"direction": "up"
|
|
121
|
+
},
|
|
122
|
+
"frn": {
|
|
99
123
|
"change1d": 0,
|
|
100
124
|
"direction": "unchanged"
|
|
101
125
|
},
|
|
102
|
-
"
|
|
103
|
-
"change1d": 0
|
|
126
|
+
"1mo": {
|
|
127
|
+
"change1d": 0,
|
|
128
|
+
"direction": "unchanged"
|
|
129
|
+
},
|
|
130
|
+
"3mo": {
|
|
131
|
+
"change1d": 0,
|
|
132
|
+
"direction": "unchanged"
|
|
133
|
+
},
|
|
134
|
+
"6mo": {
|
|
135
|
+
"change1d": 0.01,
|
|
136
|
+
"direction": "up"
|
|
137
|
+
},
|
|
138
|
+
"1yr": {
|
|
139
|
+
"change1d": 0.03,
|
|
140
|
+
"direction": "up"
|
|
141
|
+
},
|
|
142
|
+
"2yr": {
|
|
143
|
+
"change1d": 0.04,
|
|
144
|
+
"direction": "up"
|
|
145
|
+
},
|
|
146
|
+
"3yr": {
|
|
147
|
+
"change1d": 0.03,
|
|
148
|
+
"direction": "up"
|
|
149
|
+
},
|
|
150
|
+
"5yr": {
|
|
151
|
+
"change1d": 0.04,
|
|
152
|
+
"direction": "up"
|
|
153
|
+
},
|
|
154
|
+
"7yr": {
|
|
155
|
+
"change1d": 0.03,
|
|
156
|
+
"direction": "up"
|
|
157
|
+
},
|
|
158
|
+
"10yr": {
|
|
159
|
+
"change1d": 0.04,
|
|
160
|
+
"direction": "up"
|
|
161
|
+
},
|
|
162
|
+
"20yr": {
|
|
163
|
+
"change1d": 0.05,
|
|
164
|
+
"direction": "up"
|
|
165
|
+
},
|
|
166
|
+
"30yr": {
|
|
167
|
+
"change1d": 0.04,
|
|
104
168
|
"direction": "up"
|
|
105
169
|
}
|
|
106
170
|
},
|
|
107
|
-
"
|
|
171
|
+
"spread10yr2yr": 0.31,
|
|
172
|
+
"spread10yr3mo": 0.78,
|
|
173
|
+
"spread30yr5yr": 0.51,
|
|
174
|
+
"spread5yr2yr": 0.13,
|
|
175
|
+
"inverted10yr2yr": false,
|
|
176
|
+
"inverted10yr3mo": false,
|
|
177
|
+
"curveShape": "normal",
|
|
178
|
+
"breakevenInflation": {
|
|
179
|
+
"5yr": 2.48,
|
|
180
|
+
"7yr": 2.4,
|
|
181
|
+
"10yr": 2.34,
|
|
182
|
+
"20yr": 2.43,
|
|
183
|
+
"30yr": 2.25
|
|
184
|
+
}
|
|
108
185
|
}
|
|
109
186
|
}
|
|
110
187
|
```
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apiverve_treasuryyields
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- APIVerve
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: faraday
|
|
@@ -60,7 +59,8 @@ dependencies:
|
|
|
60
59
|
version: '2.0'
|
|
61
60
|
description: Treasury Yields provides current and historical US Treasury constant-maturity
|
|
62
61
|
market yields across the full curve (1-month through 30-year), plus TIPS real yields.
|
|
63
|
-
|
|
62
|
+
Paid plans add curve spreads, inversion flags, the curve's shape and breakeven inflation
|
|
63
|
+
for yield curve analysis.
|
|
64
64
|
email:
|
|
65
65
|
- hello@apiverve.com
|
|
66
66
|
executables: []
|
|
@@ -79,7 +79,6 @@ metadata:
|
|
|
79
79
|
source_code_uri: https://github.com/apiverve/treasuryyields-API/tree/main/ruby
|
|
80
80
|
changelog_uri: https://apiverve.com/changelog
|
|
81
81
|
documentation_uri: https://docs.apiverve.com/ref/treasuryyields
|
|
82
|
-
post_install_message:
|
|
83
82
|
rdoc_options: []
|
|
84
83
|
require_paths:
|
|
85
84
|
- lib
|
|
@@ -94,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
93
|
- !ruby/object:Gem::Version
|
|
95
94
|
version: '0'
|
|
96
95
|
requirements: []
|
|
97
|
-
rubygems_version:
|
|
98
|
-
signing_key:
|
|
96
|
+
rubygems_version: 4.0.23
|
|
99
97
|
specification_version: 4
|
|
100
98
|
summary: Treasury Yields API - Ruby Client
|
|
101
99
|
test_files: []
|