Skip to content

R package to generate treasury total returns from yield data

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

mgei/treasuryTR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

treasuryTR

R Package for generating Total Returns (TR) from bond yield data with fixed maturity, e.g. reported treasury yields.

Intro

While Treasury yields are easy to come by (see FRED), total return (TR) indices are not. The latter is earned by investors, and is therefore of paramount importance e.g. when simulating a treasury-stock diversified portfolio. A supplier for proprietary TR Treasury index data is CRSP. Their data can be purchased or accesses trough a handful of commercial research platforms.

Swinkels (2019) compute returns from publicly available yield-to-maturity data using standard (fixed-income) textbook formulas. See also the following post on quant.stackexchange: https://quant.stackexchange.com/a/57403

Installation

From CRAN:

install.packages("treasuryTR")

From Github:

# install.packages("devtools")
devtools::install_github("mgei/treasuryTR")

Use

Vignette: https://cran.r-project.org/web/packages/treasuryTR/vignettes/treasuryTR.html

References

Swinkels, Laurens. 2019. “Treasury Bond Return Data Starting in 1962.” Data 4 (3): 91.

About

R package to generate treasury total returns from yield data

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages