The CFINI package implements routines for the solution of pricing problems usually encountered in Financial and Actuarial Science.
The numerical methods implemented in CFINI include:
-
Pricing with trees
-
Pricing with multinomial trees
-
Ordinary differential equation solver implemented with the predictor-corrector method
-
Diffusion solver with implicit Euler method
-
Diffusion solver with Crank-Nicolson method
Many functions are coded with C++ by employing the Rcpp and RcppEigen packages.
-
Shreve, Steven E., Stochastic Calculus for Finance I: The Binomial Asset Pricing Model (1st. edn, Springer).
-
Duffy, Daniel J., Finite Difference Methods in Financial Engineering: A Partial Differential Equation Approach (2013, Wiley).
-
Haugh, Hirsa, Iyengar, Columbia University MOOC: Financial Engineering and Risk Management Specialization (2024,Coursera).
-
Filipović D., École Polytechnique Fédérale de Lausanne MOOC: Interest Rate Models (2024, Coursera).
To install CFINI directly from GitHub use devtools
:
library( devtools )
install_github( "pedroguarderas/CFINI" )