File size: 6,773 Bytes
616ac4c
 
 
 
 
 
 
 
 
 
 
a87e7b4
17ab494
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a87e7b4
5b3bb29
fe09dad
 
17ab494
fe09dad
152cb8a
fe09dad
4ada129
5b3bb29
90e47c8
 
 
 
 
 
 
5b3bb29
27e6b0b
 
17ab494
9e60cd3
4ada129
 
 
b2027d2
 
 
4c22910
4ada129
17ab494
9e60cd3
5b3bb29
 
152cb8a
 
3ee2dd8
1b97b5d
 
 
27ef732
1b97b5d
 
 
93da91d
4c22910
 
1b97b5d
 
 
3e5ef95
17ab494
9e60cd3
4ada129
5b3bb29
3b5712d
1c37cbf
8cfcfc0
152cb8a
b2027d2
c522c96
b2027d2
27e6b0b
3e6fda3
5b3bb29
17ab494
9e60cd3
4ada129
 
 
5b3bb29
17ab494
9e60cd3
4ada129
 
5b3bb29
 
 
 
4ada129
 
5b3bb29
 
 
 
93da91d
3b5712d
1c37cbf
8cfcfc0
152cb8a
7ee9afb
9b33878
152cb8a
9b33878
4ada129
 
 
03881f7
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
license: other
language:
- en
pretty_name: Dragon Finance - rates
tags:
- finance
- financial-data
- us-financial-data
- rates
---
<style>
/* Document-grade card styling: structural rules only, no decorative treatment.
   Two deliberate constraints, both learned the hard way on this account:
   (1) no background is set anywhere, so the card inherits the Hub's own text colour and stays
       legible in both themes. The previous skin forced a dark ground and a neon palette on every
       heading, rule and table; HF strips @media from card <style> blocks, so a forced palette
       could never adapt to light mode.
   (2) rules use a translucent grey rather than a fixed colour, so a hairlines sits correctly on
       either background. Nothing here computes or restates a figure. */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
       font-size: 15px; line-height: 1.62; }
h1 { font-size: 1.5em; font-weight: 650; letter-spacing: -.011em; margin: 0 0 .35em;
     padding-bottom: .35em; border-bottom: 2px solid #3d7ea6; }
h2 { font-size: 1.14em; font-weight: 650; margin: 2em 0 .6em; padding-bottom: .28em;
     border-bottom: 1px solid rgba(128,128,128,.38); }
h3 { font-size: 1.02em; font-weight: 650; margin: 1.5em 0 .5em; }
h4, h5, h6 { font-size: .9em; font-weight: 650; text-transform: uppercase; letter-spacing: .07em;
             margin: 1.3em 0 .4em; }
p, li { margin: .6em 0; }
strong, b { font-weight: 650; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em;
       padding: .08em .34em; border: 1px solid rgba(128,128,128,.38); border-radius: 3px; }
pre { border: 1px solid rgba(128,128,128,.38); border-radius: 4px; padding: 12px 14px;
      overflow-x: auto; }
pre code { border: 0; padding: 0; font-size: .88em; }
blockquote { margin: 1em 0; padding: .15em 0 .15em 1em; border-left: 3px solid #3d7ea6; }
table { border-collapse: collapse; width: 100%; margin: .9em 0 1.4em; font-size: .93em; }
th { text-align: left; font-weight: 650; font-size: .8em; text-transform: uppercase;
     letter-spacing: .07em; padding: 8px 10px; border-bottom: 2px solid rgba(128,128,128,.38);
     white-space: nowrap; }
td { padding: 7px 10px; border-bottom: 1px solid rgba(128,128,128,.28); vertical-align: top; }
td:not(:first-child), th:not(:first-child) { font-variant-numeric: tabular-nums; }
a { text-decoration: none; border-bottom: 1px solid #3d7ea6; }
a:hover { border-bottom-width: 2px; }
hr { border: 0; border-top: 1px solid rgba(128,128,128,.38); margin: 1.7em 0; }
img { max-width: 100%; }
</style>



# Dragon Finance — rates

**stored:** 65.62 MB  ·  **shards:** 21  ·  **class:** rates  ·  **sources:** US + global official

US sovereign rates and public finance — the risk-free curve and federal cash flows.

Part of the **Dragon Finance Corpus** — public financial data from US federal agencies, world
official institutions and public registries. Nothing licensed, paywalled or registration-only.

Front door: [`Dragon-Finance-Corpus`](https://huggingface.co/datasets/dragonlimited/Dragon-Finance-Corpus)
— every card, the chunked corpus and the derived artefacts, all measured from the hub;
[collection](https://huggingface.co/collections/dragonlimited/dragon-finance-corpus-6ae5fbf5e8d41b80f0ca44f0)
— this repo and its siblings.



## Coverage

| | |
|---|---|
| Yield curve | Treasury daily yield curve, all maturities |
| Auctions | auction results via the Treasury fiscal API (auctions_query) |
| Fiscal | Treasury fiscal data: debt to the penny, average interest rates, interest expense |
| Money-market rates | NY Fed reference rates and SOMA holdings |
| Eurozone | ECB yield-curve and bank interest-rate flows |

## Size

| metric | value |
|---|---|
| stored | **65.62 MB** |
| shards | 21 |
| **training-ready tokens** | **0.4 M** (0.01% of the chunked corpus) |

## Training-ready text

Measured 2026-11-04 20:37 UTC over 48 of 48 shard(s). Tokens use the one convention these cards share - `chars / 4` over the chunked text - so each figure is reconcilable against the shards.

| source | chunks | text | tokens | share |
|---|---:|---:|---:|---:|
| `treasury` | 1,500 | 0.001 GB | 0.4 M | 0.00% |
| `treasury_fiscal` | 108 | 0.000 GB | 0.0 M | 0.00% |
| `bankofengland` | 6 | 0.000 GB | 0.0 M | 0.00% |

Class attribution uses the shard path's first segment, so a tier that shares a segment with
another class (`census`, `federalreserve`, `sec`) is attributed to its dominant class.

## Sources present

| source | jurisdiction | data | licence |
|---|---|---|---|
| bankofengland | n/a | n/a | n/a |
| US Treasury | US | daily yield curve | public domain |
| US Treasury Fiscal | US | average interest rates | public domain |
| ECB | EU | official euro reference rates | ECB terms |
| FRED (St. Louis Fed) | US | rates + macro series | CC-BY-4.0 |
| SEC municipal advisers | US | registered municipal advisor registrations | US public record |
| NY Fed | US | reference rates (EFFR/OBFR/SOFR) + SOMA holdings | public |
| progress.png | n/a | n/a | n/a |
| US Treasury | US | daily yield curve | public domain |

## What you can do with it

* Build discount curves
* Track issuance and auction demand
* Monitor federal interest cost

## For engineers

Data is stored as **tar shards** (the hub caps a directory at 10,000 files and these tiers
run to millions). Members keep their original names and relative paths.

```python
import tarfile
with tarfile.open("0000.tar") as tf:
    print(tf.getnames()[:5])
    tf.extractall("out/")
```

| shard | size |
|---|---:|
| `README.md` | 6.8 KB |
| `bankofengland/0000.tar` | 133.1 KB |
| `data/treasury/0000.tar` | 675.8 KB |
| `data/treasury_fiscal/0000.tar` | 174.1 KB |
| `ecb/flows/0000.tar` | 3.38 MB |
| `fred/rates/0000.tar` | 4.63 MB |

_Showing 6 of 21 shards._

Every shard records its **sha256** in the pipeline ledgers; shards are append-only, so a
resumed run re-uploads only what changed. A shard with a failed member is never marked
complete, so missed files are retried rather than dropped.

---

> **Not advice, no warranty, no endorsement.** Compiled from third-party public sources and
> provided *'as is'*: derived and model-generated content may be wrong, and source material is
> routinely restated, amended or superseded. No source agency, exchange or company has reviewed,
> approved or endorsed this dataset, and none is affiliated with its publisher. Do not use it to
> re-identify any person, to manipulate any market, or as the sole basis for any decision about
> any person, entity or instrument. **Terms of use:**
> [`DISCLAIMER.md`](https://huggingface.co/datasets/dragonlimited/Dragon-Finance-Corpus/blob/main/DISCLAIMER.md).