Learn R Programming

⚠️There's a newer version (0.4.26) of this package.Take me there.

RQuantLib (version 0.2.7)

R interface to the QuantLib library

Description

The RQuantLib package makes selected parts of QuantLib visible to the R user. Currently some basic option pricing functions are included, as well as fixed-income functions that can be used for interest rate curve construction and Bermuda swaption pricing. Further software contributions are welcome. The QuantLib project aims to provide a comprehensive software framework for quantitative finance. The goal is to provide a standard open source library for quantitative analysis, modeling, trading, and risk management of financial assets. The Windows binary version is self-contained and does not require a QuantLib (or Boost) installation. This version of RQuantLib for Windows was built using QuantLib 0.8.1 and Boost 1.34.0. Parts of RQuantLib use the Rcpp R/C++ interface class library. See the RcppTemplate package on CRAN for more information on Rcpp.

Copy Link

Version

Install

install.packages('RQuantLib')

Monthly Downloads

1,555

Version

0.2.7

License

GPL Version 2 or later for RQuantLib; QuantLib itself is released under an Open Source license as well (see QuantLib-License.txt).

Maintainer

Dirk Eddelbuettel

Last Published

April 24th, 2025

Functions in RQuantLib (0.2.7)

Option

Base class for option price evalution
AmericanOption

American Option evaluation using Finite Differences
DiscountCurve

Returns the discount curve (with zero rates and forwards) given times
ImpliedVolatility

Base class for option-price implied volatility evalution
BinaryOption

Binary Option evaluation using Closed-Form solution
EuropeanOptionImpliedVolatility

Implied Volatility calculation for European Option
EuropeanOption

European Option evaluation using Closed-Form solution
AmericanOptionImpliedVolatility

Implied Volatility calculation for American Option
RcppVersion

Rcpp Version and License Information
BermudanSwaption

Bermudan swaption valuation using several short-rate models
BinaryOptionImpliedVolatility

Implied Volatility calculation for Binary Option
EuropeanOptionArrays

European Option evaluation using Closed-Form solution
BarrierOption

Barrier Option evaluation using Closed-Form solution