apiverve_treasuryyields 1.2.3 → 1.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97cc8ff1637438a3d44aef85857bfb133845d378689417165c9957ae8c4d4855
4
- data.tar.gz: 2f125ae21e8debb471f9be24e017aa7c2a3e8f4fa7a2f80cf41e7623d4913099
3
+ metadata.gz: d77bcf8762379b66e746e8bc598efa3bd74e2f9761fb6e62f8086587df4e3f40
4
+ data.tar.gz: 1401f876f3a09c551e13ae00e100f5a1f45bfa08c67833ad67c798f98d97fbd8
5
5
  SHA512:
6
- metadata.gz: ea173c1633683b48f8ecbca64b70162e995d2762610ab3272725809627a676c3c61efa73acc7a42d552f06360bb8e78b16e269f57500fdecfa29a681ed155f61
7
- data.tar.gz: a48877fb5e6bee69f4385a78d0f28e4207b384652dd1870acd00f9db75d3a06ae7107d87017758bddef9cab10fa5465755b229f7d894abc736dc62ea5f75b45e
6
+ metadata.gz: 4b789465cebfa46c9804f2bad1d5c1054ef426a6ce146d9e7e5860dd727d096de74b24a2de5c8816ae7476554d3b0b9cffe622e693315c19ca924a78cd8ee42b
7
+ data.tar.gz: 60bdc58ca4f7355fd3cdf1e26f5447cec797b0bcf025b651a829743cfeff1d914b435acf312d2e015dcdc8995ecb6e501ab93d1931d6245d517df94a23ba304a
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. Essential data for yield curve analysis and fixed income research.
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": "2024-02-01",
80
- "bills": 5.24,
81
- "notes": 4.35,
82
- "bonds": 4.67,
83
- "tips": 2.15,
84
- "frn": 5.31,
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.02,
88
- "direction": "up"
107
+ "change1d": 0,
108
+ "direction": "unchanged"
89
109
  },
90
110
  "notes": {
91
- "change1d": -0.03,
92
- "direction": "down"
111
+ "change1d": 0.04,
112
+ "direction": "up"
93
113
  },
94
114
  "bonds": {
95
- "change1d": 0.01,
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
- "frn": {
103
- "change1d": 0.02,
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
- "previousDate": "2024-01-31"
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
  ```
@@ -4,6 +4,6 @@ require_relative "apiverve_treasuryyields/client"
4
4
 
5
5
  module APIVerve
6
6
  module Treasuryyields
7
- VERSION = "1.2.3"
7
+ VERSION = "1.2.5"
8
8
  end
9
9
  end
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.3
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIVerve
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-10-26 00:00:00.000000000 Z
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
- Essential data for yield curve analysis and fixed income research.
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: 3.0.3.1
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: []