Datasets:
CyberMax commited on
Curvewire: Treasury yield curves + 15 BLS series (build 2026-09-24)
Browse files- README.md +93 -0
- data/bls_monthly.csv +0 -0
- data/bls_monthly.parquet +3 -0
- data/treasury_real_yields.csv +0 -0
- data/treasury_real_yields.parquet +3 -0
- data/treasury_yields.csv +0 -0
- data/treasury_yields.parquet +3 -0
- meta.json +51 -0
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
pretty_name: "Curvewire: US Treasury yield curve + BLS macro panel (official sources)"
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- finance
|
| 8 |
+
- economics
|
| 9 |
+
- macroeconomics
|
| 10 |
+
- interest-rates
|
| 11 |
+
- yield-curve
|
| 12 |
+
- treasury
|
| 13 |
+
- inflation
|
| 14 |
+
- cpi
|
| 15 |
+
- jobs
|
| 16 |
+
- unemployment
|
| 17 |
+
- bls
|
| 18 |
+
- time-series
|
| 19 |
+
- tabular
|
| 20 |
+
task_categories:
|
| 21 |
+
- time-series-forecasting
|
| 22 |
+
- tabular-regression
|
| 23 |
+
size_categories:
|
| 24 |
+
- 10K<n<100K
|
| 25 |
+
configs:
|
| 26 |
+
- config_name: treasury_yields
|
| 27 |
+
default: true
|
| 28 |
+
data_files:
|
| 29 |
+
- split: train
|
| 30 |
+
path: data/treasury_yields.parquet
|
| 31 |
+
- config_name: treasury_real_yields
|
| 32 |
+
data_files:
|
| 33 |
+
- split: train
|
| 34 |
+
path: data/treasury_real_yields.parquet
|
| 35 |
+
- config_name: bls_monthly
|
| 36 |
+
data_files:
|
| 37 |
+
- split: train
|
| 38 |
+
path: data/bls_monthly.parquet
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
# Curvewire: US Treasury yield curve + BLS macro panel
|
| 42 |
+
|
| 43 |
+
The US numbers macro models, trading bots and LLM agents ask for most, taken **straight from the agencies that publish them** (US Treasury and the Bureau of Labor Statistics), not scraped from redistributors, and cleaned into three tidy tables:
|
| 44 |
+
|
| 45 |
+
| config | rows | what |
|
| 46 |
+
|---|---|---|
|
| 47 |
+
| `treasury_yields` (default) | 9,189 | Daily par yield curve, 1 month to 30 years, 1990-01-02 → 2026-09-23, with 10y–2y and 10y–3m spreads |
|
| 48 |
+
| `treasury_real_yields` | 5,936 | Daily real (TIPS) par yield curve, 5 to 30 years, 2003-01-02 → 2026-09-23 |
|
| 49 |
+
| `bls_monthly` | 7,514 | 15 headline monthly series in long format, with 1-month and 12-month changes |
|
| 50 |
+
|
| 51 |
+
Latest readings in this build (see `meta.json`): 10-year yield **5.11%**, 2-year 4.85% (10y–2y spread +0.26 pt), 3-month 4.19%; August 2026 CPI **+3.35%** year on year (core +2.45%), unemployment rate **4.1%**, payrolls +162k on the month; JOLTS job openings 7.27 million (July).
|
| 52 |
+
|
| 53 |
+
## BLS series included
|
| 54 |
+
|
| 55 |
+
| series_id | series | units |
|
| 56 |
+
|---|---|---|
|
| 57 |
+
| CUSR0000SA0 / CUUR0000SA0 | CPI-U, all items (seasonally adjusted / not) | index 1982-84=100 |
|
| 58 |
+
| CUSR0000SA0L1E | Core CPI (less food and energy) | index |
|
| 59 |
+
| CUSR0000SAF1, CUSR0000SA0E, CUSR0000SAH1 | CPI food, energy, shelter | index |
|
| 60 |
+
| CES0000000001 | Total nonfarm payrolls | thousands |
|
| 61 |
+
| CES0500000003, CES0500000002 | Average hourly earnings, average weekly hours (private) | USD, hours |
|
| 62 |
+
| LNS14000000, LNS11300000, LNS12300000 | Unemployment rate, participation rate, employment-population ratio | percent |
|
| 63 |
+
| JTS000000000000000JOL, JTS000000000000000QUR | JOLTS job openings, quits rate | thousands, percent |
|
| 64 |
+
| WPSFD4 | PPI final demand | index |
|
| 65 |
+
|
| 66 |
+
`bls_monthly` columns: `series_id`, `series_name`, `units`, `seasonally_adjusted`, `date` (first day of the month), `value`, `footnote_codes` (BLS codes, e.g. `P` = preliminary), `change_1m`, `pct_change_1m`, `pct_change_12m` (null for series already in percent), `change_12m`.
|
| 67 |
+
|
| 68 |
+
`treasury_yields` columns: `date`, `y_1m`, `y_6w` (1.5-month bill, from 2025), `y_2m`, `y_3m`, `y_4m`, `y_6m`, `y_1y`, `y_2y`, `y_3y`, `y_5y`, `y_7y`, `y_10y`, `y_20y`, `y_30y` (percent), `spread_10y_2y`, `spread_10y_3m` (percentage points). Maturities Treasury didn't publish on a date (e.g. 20-year before 1993, 30-year in 2002–2006) are `null`.
|
| 69 |
+
|
| 70 |
+
## Use it
|
| 71 |
+
|
| 72 |
+
```python
|
| 73 |
+
from datasets import load_dataset
|
| 74 |
+
curve = load_dataset("shaw276/curvewire-us-macro-panel", "treasury_yields", split="train").to_pandas()
|
| 75 |
+
print(curve[curve.spread_10y_2y < 0].date.agg(["min", "max", "count"])) # inversion days
|
| 76 |
+
|
| 77 |
+
bls = load_dataset("shaw276/curvewire-us-macro-panel", "bls_monthly", split="train").to_pandas()
|
| 78 |
+
cpi = bls[bls.series_id == "CUSR0000SA0L1E"].set_index("date")["pct_change_12m"]
|
| 79 |
+
print(cpi.tail(12)) # core CPI inflation, last 12 months
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
## Refresh and revisions
|
| 83 |
+
|
| 84 |
+
Rebuilt from the agencies' own files (Treasury's daily CSVs, BLS bulk time-series files); `meta.json` has the build time and each series' latest month. BLS revises recent months (payrolls for two months, CPI seasonal factors each February), and every refresh picks the revisions up, so always use the latest build rather than stitching old ones together.
|
| 85 |
+
|
| 86 |
+
## Licence
|
| 87 |
+
|
| 88 |
+
US Treasury and BLS data are works of the US federal government, in the public domain; this compilation is released under **CC0 1.0**. Please cite the agencies as the source. Compiled by **CyberMax**. Not affiliated with or endorsed by the US Treasury or BLS. Not investment advice. Series from redistributors with third-party copyright (e.g. some FRED series) are deliberately not included.
|
| 89 |
+
|
| 90 |
+
## Also from CyberMax
|
| 91 |
+
|
| 92 |
+
- Free datasets: [Tickerbell: SEC 8-K events by Item](https://huggingface.co/datasets/shaw276/tickerbell-sec-8k-events) · [Boardroom Buys: SEC Form 4 insider transactions](https://huggingface.co/datasets/shaw276/sec-form4-insider-transactions)
|
| 93 |
+
- Tools for AI agents and data teams (pay per use, on Apify), e.g. [Boardroom Buys: SEC insider trading tracker](https://apify.com/cybermax/sec-insider-tracker) and [Swellmeter: Google Trends API](https://apify.com/cybermax/google-trends): https://apify.com/cybermax
|
data/bls_monthly.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/bls_monthly.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:303f30ac06c527286f5fe489496d4d530222082cf8ac7d2f8529cdeb7a7f4fbd
|
| 3 |
+
size 134446
|
data/treasury_real_yields.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/treasury_real_yields.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02920c4cc2cab87916d7f08acaf944fc5846f84e2995e7f2e9aa0033a80a640c
|
| 3 |
+
size 55792
|
data/treasury_yields.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/treasury_yields.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18cebbaf40582ef9bd2075e418cc244c2f902fb56fe33a067e2fec5743dee744
|
| 3 |
+
size 201517
|
meta.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"built_at": "2026-09-24T01:33:09Z",
|
| 3 |
+
"treasury_yields": 9189,
|
| 4 |
+
"treasury_yields_range": [
|
| 5 |
+
"1990-01-02",
|
| 6 |
+
"2026-09-23"
|
| 7 |
+
],
|
| 8 |
+
"treasury_real_yields": 5936,
|
| 9 |
+
"treasury_real_yields_range": [
|
| 10 |
+
"2003-01-02",
|
| 11 |
+
"2026-09-23"
|
| 12 |
+
],
|
| 13 |
+
"bls_monthly": 11026,
|
| 14 |
+
"bls_series": 15,
|
| 15 |
+
"bls_latest_period": {
|
| 16 |
+
"CUSR0000SA0": "2026-08",
|
| 17 |
+
"CUUR0000SA0": "2026-08",
|
| 18 |
+
"CUSR0000SA0L1E": "2026-08",
|
| 19 |
+
"CUSR0000SAF1": "2026-08",
|
| 20 |
+
"CUSR0000SA0E": "2026-08",
|
| 21 |
+
"CUSR0000SAH1": "2026-08",
|
| 22 |
+
"CES0000000001": "2026-08",
|
| 23 |
+
"CES0500000003": "2026-08",
|
| 24 |
+
"CES0500000002": "2026-08",
|
| 25 |
+
"LNS14000000": "2026-08",
|
| 26 |
+
"LNS11300000": "2026-08",
|
| 27 |
+
"LNS12300000": "2026-08",
|
| 28 |
+
"JTS000000000000000JOL": "2026-07",
|
| 29 |
+
"JTS000000000000000QUR": "2026-07",
|
| 30 |
+
"WPSFD4": "2026-08"
|
| 31 |
+
},
|
| 32 |
+
"latest_curve": {
|
| 33 |
+
"date": "2026-09-23",
|
| 34 |
+
"y_1m": 3.99,
|
| 35 |
+
"y_6w": 4.07,
|
| 36 |
+
"y_2m": 4.1,
|
| 37 |
+
"y_3m": 4.19,
|
| 38 |
+
"y_4m": 4.3,
|
| 39 |
+
"y_6m": 4.31,
|
| 40 |
+
"y_1y": 4.49,
|
| 41 |
+
"y_2y": 4.85,
|
| 42 |
+
"y_3y": 4.97,
|
| 43 |
+
"y_5y": 4.99,
|
| 44 |
+
"y_7y": 5.05,
|
| 45 |
+
"y_10y": 5.11,
|
| 46 |
+
"y_20y": 5.45,
|
| 47 |
+
"y_30y": 5.4,
|
| 48 |
+
"spread_10y_2y": 0.26,
|
| 49 |
+
"spread_10y_3m": 0.92
|
| 50 |
+
}
|
| 51 |
+
}
|