File size: 2,257 Bytes
5b3bb29
 
 
 
9b33878
5b3bb29
 
 
4ada129
9b33878
5b3bb29
 
 
 
4ada129
5b3bb29
4ada129
 
5b3bb29
4ada129
 
 
 
 
b2027d2
 
 
4ada129
 
5b3bb29
 
 
8cfcfc0
 
3e5ef95
4ada129
5b3bb29
4ada129
5b3bb29
1c37cbf
8cfcfc0
b2027d2
c522c96
b2027d2
3e6fda3
5b3bb29
4ada129
5b3bb29
4ada129
 
 
5b3bb29
4ada129
5b3bb29
4ada129
 
5b3bb29
 
 
 
4ada129
 
5b3bb29
 
 
 
3e6fda3
1c37cbf
8cfcfc0
7ee9afb
51bd8b0
7ee9afb
9b33878
8cfcfc0
9b33878
4ada129
 
 
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
---
license: other
language:
- en
pretty_name: Dragon Finance - rates
tags:
- finance
- financial-data
- us-financial-data
- rates
---

# Dragon Finance — rates

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

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

## 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 |

## Size

| metric | value |
|---|---|
| stored | **62.06 MB** |
| shards | 18 |

## Sources present

| source | jurisdiction | data | licence |
|---|---|---|---|
| US Treasury | US | daily yield curve | public domain |
| US Treasury Fiscal | US | average interest rates | public domain |
| 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 |
| 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` | 2.2 KB |
| `data/treasury/0000.tar` | 675.8 KB |
| `data/treasury_fiscal/0000.tar` | 174.1 KB |
| `fred/rates/0000.tar` | 4.63 MB |
| `fred/rates/0001.tar` | 532.5 KB |
| `fred/rates/0002.tar` | 3.91 MB |

_Showing 6 of 18 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.