--- 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.9 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. --- > **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).