Get Treasury rate history
get_treasury_rate_historyGet a history of U.S. Treasury yields between two dates: the nominal zero curve, the short-end money-market curve, or the TIPS real curve, one row per trading day. Use this for 'how have rates moved' questions. Coverage starts 2008-09-02. Keep ranges tight — a decade is thousands of rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date, YYYY-MM-DD. | |
| from | Yes | Start date, YYYY-MM-DD. Not before 2008-09-02. | |
| curve | No | Which curve. Defaults to "zero" (nominal spot). "money_market" covers below one year; "real" is TIPS and its yields sit above inflation. |