Skip to content

Releases: grfiv/ustreasuries

First Major Release

29 Feb 23:22
Compare
Choose a tag to compare
  • Added vignette veronesi-ch02, all the examples and figures from Chapter 2 of Veronesi

  • Added vignette veronesi-ch02-Nelson-Seigel, the appendix to Veronesi Chapter 2 showing the Nelson Seigel and Svensson term structure models

  • Added Zbootstrap function

  • Modified FedInvestData function to start at the date following the last date in the historical file

  • Added data-raw/FedInvestHistory_bring_to_current.R to "top off" the FedInvest historical dataset so that as few POSTS as possible have to be made to bring it current

  • Added SP500 and SP500TR to download S&P 500 data

  • Added spot_rate function

  • Added CoerceFedInvest_xts function

DF bootstrap and equity index downloads added

24 Feb 21:31
Compare
Choose a tag to compare

Seventh Development Release 0.0.0.9006

  • Added vignette veronesi-ch02, all the examples and figures from Chapter 2 of Veronesi

  • Added Zbootstrap function

  • Modified FedInvestData function to start at the date following the last date in the historical file

  • Added data-raw/FedInvestHistory_bring_to_current.R to "top off" the FedInvest historical dataset so that as few POSTS as possible have to be made to bring it current

  • Added SP500 and SP500TR to download S&P 500 data

Cleanup

17 Feb 13:44
Compare
Choose a tag to compare

Sixth Development Release 0.0.0.9005

  • Extensive miscellaneous cleanup and refactoring

  • Added rudimentary bond math

Nelson Seigel & FedInvest bond price download

09 Feb 18:20
Compare
Choose a tag to compare
  • Added References in README and project documentation

  • Changed OptionGamma to Gamma

  • Changed USTreasuryRates to CMTrates

  • Changed CAGRd to CAGR, added geometric & continuous

  • Added discount factor functions

    • discount_factor, interest_rate

  • Cited my use of Prof. Jayanth R Varma's jrvFinance package Lic: GPL (>=2)

  • CMTrates modified to to add attr(..., "data.source") <- "CMT"

  • Added xts (>= 0.9.7) to DESCRIPTION Imports

  • Added Nelson.Siegel, NSrates, NSzeros, Nelson.Siegel.plot, NSzeros.plot

  • Added FedInvestData Return treasury bond price data from 2010

Added Implied Volatility

04 Feb 01:06
Compare
Choose a tag to compare

Fourth Development Release 0.0.0.9003

  • Added Implied Volatlity EuroCallVol / EuroPutVol
  • Added Time Value TimeValueCall / TimeValuePut
  • Updated black-scholes-merton vignette
  • Updated GitHub Wiki

Added the Greeks

03 Feb 23:30
Compare
Choose a tag to compare

Third Development Release 0.0.0.9002

  • Added Greeks
  • DeltaCall / DeltaPut
  • ThetaCall / ThetaPut
  • OptionGamma
  • Vega
  • RhoCall / RhoPut
  • Added Utilities
  • IntrinsicValueCall / IntrinsicValuePut
  • InTheMoneyCall / InTheMoneyPut
  • Added examples to ustreasuries.R
  • Updated black-scholes-merton vignette
  • Updated GitHub Wiki

Second Development Release

02 Feb 20:32
Compare
Choose a tag to compare

Second Development Release 0.0.0.9001

  • Added all the Black Scholes Merton functions

    • Black-Scholes-Merton
      • EuroCall Calculate the price of a European call option with or without dividends
      • EuroPut Calculate the price of a European put option with or without dividends
    • Utility Functions
      • CAGR
        • CAGRd Calculate discrete Compound Annual Growth Rate
        • r_continuous Convert from discrete to continuous CAGR
        • r_discrete Convert from continuous to discrete CAGR
      • Put/Call Parity
        • CallParity Convert from a put-option price using put/call parity
        • PutParity Convert from a call-option price using put/call parity
      • Risk Neutral/Forwards
        • RiskNeutralProb Binomial tree risk-neutral probability
        • ForwardPrice Forward price with or without income or yield
        • ForwardRate Forward rate from Time1 to Time2 (discrete compounding)
    • Installed but not yet undocumented
      • CashCall
      • CashPut
      • AssetCall
      • AssetPut
      • American_Put_Binomial
      • DeltaCall
      • DeltaPut
      • OptionGamma
      • ThetaCall
      • ThetaPut
      • Vega
      • RhoFuturesCall
      • RhoFuturesPut
      • RhoFXCall
      • RhoFXPut
      • RhoCall
      • RhoPut
      • EuroCallVol
      • EuroPutlVol
      • Black_Scholes_Call_Implied_Vol
      • Black_Scholes_Put_Implied_Vol
      • ImpVolCall
      • ImpVolPut
      • American_Call_Dividend
  • Modified yield-curves vignette to show last three years

  • Added two vignettes for the derivatives functions

    • utilities examples of the utility functions
    • black-scholes-merton examples of options pricing

Initial development release

02 Feb 20:28
Compare
Choose a tag to compare

Initial Development Release 0.0.0.9000

  • Three fully-documented functions (roxygen2)

    • USTreasuryRates downloads a data.frame with daily data from 1962
    • PrintYieldCurves prints one or more yield curves
    • APY converts Constant-Maturity Treasury (CMT) yields to Annualized Percentage Yields (APY)
  • Three vignettes

    • cmt-rates a description of Constant Maturity and Annualized Percentage rates
    • yield-curves examples of downloading the data and printing yield curves for interesting periods in recent financial history
    • plot-10year a plot of the 10-year from 1962 to present
  • Unit Tests (testthat) devtools::test()

    • USTreasuryRates Test data download : ...............
    • APY Test APY : ..
  • R CMD RStudio Build>Check Package, devtools::check(), devtools::build_win()

    • No errors, warnings or notes
    • "Status: OK, R CMD check succeeded""