tr_real_long_term: Daily treasury real long-term rate averages

View source: R/interest-rate.R

tr_real_long_termR Documentation

Daily treasury real long-term rate averages

Description

The Long-Term Real Rate Average is the unweighted average of bid real yields on all outstanding TIPS with remaining maturities of more than 10 years and is intended as a proxy for long-term real rates.

Usage

tr_real_long_term(date = NULL)

Arguments

date

(NULL | character(1) | numeric(1))
Date in format yyyy or yyyymm. If NULL, all data is returned. Default NULL.

Value

A data.table::data.table() containing the rates or NULL when no entries were found.

Source

https://home.treasury.gov/treasury-daily-interest-rate-xml-feed

See Also

Other interest rate: tr_bill_rate(), tr_long_term_rate(), tr_real_yield_curve(), tr_yield_curve()

Examples

## Not run: 
# get data for a single month
tr_real_long_term("202201")
# or for the entire year
tr_real_long_term(2022)

## End(Not run)

treasury documentation built on Aug. 27, 2025, 1:09 a.m.