Description Usage Details Value Author(s) References Examples
View source: R/download_rates.R
The FedInvest site provides rate and price data on a daily basis for approximately 400 Treasury securites. This function returns all that data from 2010 to the last-completed business day.
1 |
The columns of the data.frame returned
CUSIP Committee on Uniform Security Identification Procedures' nine-character, alphanumeric security identification code
SECURITY.TYPE
MARKET BASED BILL
MARKET BASED NOTE
MARKET BASED BOND
TIPS
MARKET BASED FRN
RATE
MATURITY.DATE
CALL.DATE All NA
BUY
SELL
END.OF.DAY
Date Date for which the data was retrieved
data.frame containing the FedInvest data from 2010 to the most-recently completed business day
George Fisher
US Dept. of the Treasury FedInvest Historical Prices https://www.treasurydirect.gov/GA-FI/FedInvest/selectSecurityPriceDate.htm
1 2 3 4 | library(ustreasuries)
fedinvest_data <- FedInvestData()
head(fedinvest_data)
tail(fedinvest_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.