Primarily a maintenance release with one new feature (tidy output)
Added tidygreeks
parameter to greeks
function to return output in tidy format. This is FALSE
by default, for compatability. Still need to add test for this output
Fixed: if a parameter in the function passed to greeks uses the index “i”, the eval step in Greeks fails (because the eval loop also uses “i”. The index variable cannot be z91k25
Fixed: spurious “break” in implied.Ri
Functions for compound options (call on call, call on put, etc.)
Binomplot: Option for log y axis
New vignette discussing alternative ways to write vectorized functions
Binomopt
callperpetual and putperpetual functions added to barriers.R
Asian options
First CRAN release
Completed vignette
added simple bond functions (yield, pv, duration, convexity)
fixed problem with vectorization in barrier options
Greeks (delta, gamma, theta, added to binomial output)
With returntrees=TRUE, returns replicating portfolio components ($bond and $delta)
binomopt
and plotting of the binomial tree with binomplot
First version. Includes:
basic Black-Scholes functions and Greeks
barrier pricing
implied volatility
quincunx (Galton board) function to illustrate the central limit theorem