# List of packages in R for options pricing?

What are the best packages in R or most comprehensive packages in R for option pricing and working with options?

Thanks!

• @alexC you should post as an answer
– Rime
May 10, 2018 at 16:01

You may want to browse the Task View for empirical finance, which lists many options-related packages.

As for concrete suggestions: I have worked a lot with RQuantLib in the past, and I have found it a reliable and stable package.

Perhaps I may also suggest NMOF, which I maintain. It provides implementations of a number of models (Black/Scholes/Merton, Merton jump-diffusion, Heston, ...). It also implements the approach of Bakshi/Madan (2000) for pricing based on the characteristic function. The implementation is essentially the one described in this paper on Calibrating Option Pricing Models.

Besides those mentioned by Alex C., the package 'RND' provides various tools for computing risk-neutral densities from option prices, and also provides some pricing functions for various models. RND package on CRAN. The package 'VarianceGamma' provides tools for, inter alia, fitting a variance-gamma distribution to historical data complete with automatically generated histograms and QQ-plots. VarianceGamma package on CRAN.

• RND is an awesome tool, +1. May 16, 2019 at 21:18

You may want to investigate, among others, RQuantlib, derivmkts, fOptions, OptionPricing, M4FE. I have no detailed information about these, I have just seen or heard them mentioned (here or in other places).

A newer package for option pricing, and for computation of Greeks and implied volatilities is the package greeks, which I have written.