Look up a Treasury security
get_treasury_securityLook up one Treasury security by CUSIP: its terms, price history, and analytics including duration, convexity, DV01 and key-rate durations, plus TIPS and floating-rate analytics where they apply, and the amount outstanding. Takes a CUSIP, not a description such as 'the current 10-year'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cusip | Yes | Nine-character Treasury CUSIP, e.g. "91282CJL6". | |
| summarize | No | True drops the daily price and analytics series and keeps the latest values. Use it unless you need the full history — a 30-year bond carries thousands of rows. | |
| outstanding_on | No | Date for the amount outstanding. The month-end statement in force on it is used. Defaults to today. |