jrvFinance-package: Basic Finance: NPV/IRR/annuities, bond pricing, Black Scholes

Description Details Author(s) References

Description

This package implements the basic financial analysis functions similar to (but not identical to) what is available in most spreadsheet software. This includes finding the IRR, NPV and duration of possibly irregularly spaced cash flows and annuities. Bond pricing, YTM and duration calculations are included. Black Scholes option pricing, Greeks and implied volatility are also provided.

Details

Important functions include:

npv, irr, duration, annuity.pv, bond.price, bond.yield, GenBS, GenBSImplied

For more details, see the vignette

Author(s)

Prof. Jayanth R. Varma jrvarma@iima.ac.in

References

The 30/360 day count was converted from C++ code in the QuantLib library. The Newton Raphson solver was converted from C++ code in the Boost library


jrvarma/jrvFinance documentation built on Nov. 6, 2021, 5:12 p.m.