Several models such as Nelson Seigel and Svensson are provided
Veronesi Veronesi examples derived with code and live bond data
Drawing primarily on Hull, 7th edition Hull ustreasuries includes many options-pricing models, all the Greeks and a number of utility functions, all of which have examples from Hull which demonstrate that they work correctly.
See the GitHub Wiki for examples of the use of all the functions.
See https://github.com/grfiv/BlackScholesMerton for these functions written in Python and Excel VBA
See also http://www.philadelphia-reflections.com/topic/230.htm
We're not on CRAN yet; get the development version from GitHub:
# see https://github.com/hadley/devtools for the
# best procedure to install *devtools* on your
# system; Windows in particular has somewhat
# complicated requirements
devtools::install_github("grfiv/treasuries")
# Notes:
# 1. Add 'build_vignettes=TRUE' to include vignettes
# (recommended, but a current version of pandoc is required)
# 2. add 'auth_token="..."' if you get a 404
# contact the author for this
# 3. if you receive a message about corrupt databases or fetch(key),
# restarting R will fix the problem;
# these appear to be issues with devtools 1.10.0.9000
[Back]: Back, K., A Course in Derivative Securities 2005 Springer Finance ISBN 9783540253734
[Consiglio]: Consiglio A. and Guirreri S.S. Simulating the Term Structure of Interest Rates with arbitrary marginals. International Journal of Risk Assessment and Management, 15(4), September 2011.
[Hull]: Hull, J., Options, Futures and Other Derivatives Seventh Edition 2008 Pearson/Prentice Hall ISBN 9780136015864
[CMT]: US Dept. of Treasury Daily Treasury Yield Curve Rates https://www.treasury.gov/resource-center/data-chart-center/interest-rates/Pages/TextView.aspx?data=yield
[H15]: US Federal Reserve Board Data Download Program http://www.federalreserve.gov/datadownload/Choose.aspx?rel=H15
[Varma]: Varma, J. jrvFinance v1.03 (https://github.com/jrvarma/jrvFinance)
[Veronesi]: Veronesi P., Fixed Income Securities 2010 John Wiley & Sons ISBN 9780470109106
[MDC]: Wall Street Journal Market Data Center http://online.wsj.com/mdc/public/page/mdc_bonds.html?mod=mdc_topnav_2_3010
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.