Description Usage Arguments Details
Fetching nominal interest rates published by US Treasury
1 2 3 4 5 | dtFetchUsTreasuryYieldCurveData(
cDataType = "YieldCurveRates",
dateStartDate,
dateEndDate
)
|
cDataType |
- character scalar, one of the following three values: "YieldCurveRates", "BillRates", "LongTermRates" |
dateStartDate |
- class 'Date' scalar |
dateEndDate |
- class 'Date' scalar; function checks if the dateEndDate precedes dateStartDate and throws an error should this be the case |
This function fetches the historical time series of nominal interest rates as published by US Treasury at the site: As only the nominal interest rates are handled, the following data types are available (cf. parameter cDataType): 1) Yield Curve Rates, 2) Bill Rates and 3) Long-Term Rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.