Get Treasury rate history
get_treasury_rate_historyGet a history of U.S. Treasury yields between two dates: the nominal curve (par yield, zero rate and forward rate at each maturity), 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>"
},
"name": "get_treasury_rate_history"
}
}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", the nominal curve, whose rows carry par_yield, zero_rate and forward_rate. "money_market" covers below one year; "real" is TIPS and its yields sit above inflation. |