> For the complete documentation index, see [llms.txt](https://www.bluegamma.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.bluegamma.io/documentation/methodology/government-bond-curves.md).

# Government Bond Curves

How BlueGamma bootstraps zero-coupon government bond curves from US Treasury constant maturity yields, refreshed every minute, and daily sovereign yields for eight other markets.

BlueGamma builds each government bond curve by bootstrapping zero-coupon yields from market-quoted bond yields and interpolating log-cubic on discount factors. US Treasury curves use Treasury bill rates up to 1 year and constant maturity yields beyond, refreshed every minute during trading hours, with the latest SOFR fixing anchoring the overnight point; other sovereign curves use verified daily yields. Each curve is a snapshot of secondary-market pricing at a stated point in time.

***

## 1. Data Inputs

### US Treasuries

* **Source:** Constant Maturity (CMT) par yields from actively traded Treasury securities, for maturities above 1 year
* **Frequency:** Updated every minute during trading hours
* **Short end:** Treasury bill rates for maturities up to 1 year, quoted on a bank discount basis and priced as zero-coupon bills; the latest SOFR fixing anchors the overnight point

### Other Countries

* **Source:** Verified daily government bond yield data from institutional providers
* **Coverage:** UK Gilts, German Bunds, French OATs, and other sovereign curves
* **Frequency:** Updated once a day

***

## 2. Curve Construction

### Methodology

1. **Validation** — Raw yields are checked for outliers and staleness
2. **Bootstrapping** — Zero-coupon yields derived from bond prices
3. **Interpolation** — Log-cubic method for smooth curve shapes
4. **Extrapolation** — Constrained beyond longest maturity

### Interpolation

We use piecewise log-cubic interpolation on discount factors, which:

* Ensures no-arbitrage conditions
* Produces stable forward rates
* Allows yield extraction at any maturity within the curve range

***

## 3. US Treasury Conventions

| Convention  | Value              |
| ----------- | ------------------ |
| Day Count   | Actual/Actual ISMA |
| Compounding | Semi-annual        |
| Calendar    | US Government Bond |
| Settlement  | T+1                |
| Output      | Zero-coupon yields |

***

## 4. Supported Countries

| Country        | Bond Name        | Currency |
| -------------- | ---------------- | -------- |
| 🇺🇸 US        | Treasuries       | USD      |
| 🇬🇧 UK        | Gilts            | GBP      |
| 🇩🇪 Germany   | Bunds            | EUR      |
| 🇫🇷 France    | OATs             | EUR      |
| 🇮🇹 Italy     | BTPs             | EUR      |
| 🇪🇸 Spain     | Bonos            | EUR      |
| 🇯🇵 Japan     | JGBs             | JPY      |
| 🇨🇦 Canada    | Government Bonds | CAD      |
| 🇦🇺 Australia | AGBs             | AUD      |

***

## 5. Data Quality

### Automated Validation

* **Shape checks** — Ensures economically sensible forward rates
* **Smoothness tests** — Detects abrupt jumps between maturities
* **Outlier detection** — Daily Z-score analysis flags unusual yields
* **Cross-validation** — Comparison against alternative data sources

### Human Review

* Daily visual inspection of all government bond curves
* Investigation of flagged anomalies before publication
* User feedback incorporated into quality review

***

## Related Documentation

* [Interest Rate Curves](https://www.bluegamma.io/documentation/methodology/how-to-bootstrap-the-yield-curve.md) — OIS and IBOR curve construction
* [Discount Factors](https://www.bluegamma.io/documentation/methodology/discount-factors.md) — How to calculate discount factors from yields
* [How to Pull Bond Yields in Excel](https://www.bluegamma.io/documentation/integrations/excel-add-in/how-to-guides/how-to-pull-bond-yields-in-excel.md) — Excel Add-in guide
* [How to Calculate Discount Factors Using Government Bond Yields](https://www.bluegamma.io/documentation/integrations/excel-add-in/how-to-guides/how-to-calculate-discount-factors-in-excel.md) — DCF calculations with Treasury yields
* [API Reference](https://www.bluegamma.io/documentation/integrations/api/api-reference.md) — Complete API documentation


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.bluegamma.io/documentation/methodology/government-bond-curves.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
