Pricing of Vanilla and Exotic Option Contracts

Option pricing (financial derivatives) techniques mainly following textbook 'Options, Futures and Other Derivatives', 9ed by John C.Hull, 2014. Prentice Hall. Implementations are via binomial tree option model (BOPM), Black-Scholes model, Monte Carlo simulations, etc. This package is a result of Quantitative Financial Risk Management course (STAT 449 and STAT 649) at Rice University, Houston, TX, USA, taught by Oleg Melnikov, statistics PhD student, as of Spring 2015.

output: pdf_document

What is QFRM

QFRM is a result of nearly 6 month-long effort by lecturer (Oleg Melnikov) and students of Quantiative Financial Risk Management (QFRM, 2015) course at Rice University. The QFRM R package is a collection of exotic option pricing methods via four key algorithms: Black Scholes (BS), lattice trees (binomial, trinomial, etc) (LT), Monte Carlo Simulation (MC), and finite differencing (FD).

Why use QFRM?

If you are analyzing portfolio risks or pricing exotic derivatives, QFRM will be of help. The examples and source code can help you advance your own algorithm. In such a case, we would be delighted to have you as a contributor or be credited for any code/algorithm that you found helpful in your projects/research.

How to use QFRM?

The contributors inclduded many examples that you can evaluate. Likewise, all functions have default values and can be executed without any changedd arguments (for usability learning). Basically, you will need to instatiate Opt object (takes basic option parameters) then instantiate OptPx object (takes common pricing parameters), which is passed into a specific pricing function. The latter may require additional parameters specific to the exotic option at hand. A good reference for QFRM is John C. Hull's textbook "Options, futures, and Other Derivatives." Many pricing functions reference examples in the textbook, so you yourself can verify the pricing calculation.

Future updates

Planned updates to include visualization, vectorization of existing functions, as well as pricing/analysis of portfolios of options.

Contact us

If you discover a bug, possible improvement or just have a question, please contact Oleg Melnikov, [email protected]. I will then pass the request, if needed, to the particular contributor. Still, each contributor's contact information is in the DESCRIPTION file. Also, each function identifies the developer.

Markdown help


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.1 by Oleg Melnikov, 6 years ago

Browse source code at

Authors: Oleg Melnikov [aut, cre] , Max Lee [ctb] , Robert Abramov [ctb] , Richard Huang [ctb] , Liu Tong [ctb] , Jake Kornblau [ctb] , Xinnan Lu [ctb] , Kiryl Novikau [ctb] , Tongyue Luo [ctb] , Le You [ctb] , Jin Chen [ctb] , Chengwei Ge [ctb] , Jiayao Huang [ctb] , Kim Raath [ctb]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports stats, methods, graphics

See at CRAN