Learn R Programming

LSMonteCarlo (version 1.0)

American options pricing with Least Squares Monte Carlo method

Description

The package compiles functions for calculating prices of American put options with Least Squares Monte Carlo method. The option types are plain vanilla American put, Asian American put, and Quanto American put. The pricing algorithms include variance reduction techniques such as Antithetic Variates and Control Variates. Additional functions are given to derive "price surfaces" at different volatilities and strikes, create 3-D plots, quickly generate Geometric Brownian motion, and calculate prices of European options with Black & Scholes analytical solution.

Copy Link

Version

Install

install.packages('LSMonteCarlo')

Monthly Downloads

199

Version

1.0

License

GPL-3

Maintainer

Mikhail Beketov

Last Published

September 23rd, 2013

Functions in LSMonteCarlo (1.0)

price

Extracting price from the pricing functions outputs
LSMonteCarlo-package

American options pricing with Least Squares Monte Carlo method
AsianAmerPutLSMPriceSurf

Deriving a table of Asian American put prices at different volatilities and strikes
QuantoAmerPutLSM_AV

Pricing Quanto American put with Antithetic Variates
QuantoAmerPutLSMPriceSurf

Deriving a table of Quanto American put prices at different volatilities and strikes
AmerPutLSMPriceSurf

Deriving a table of American put prices at different volatilities and strikes
firstValueRow

Returning the first >0 value in each row of a matrix
QuantoAmerPutLSM

Calculating the price of Quanto American put
AmerPutLSM

Calculating the price of plain vanilla American put
fastGBM

Generating Geometric Brownian motion
AsianAmerPutLSM

Calculating the price of Asian American put
AmerPutLSM_CV

Pricing plain vanilla American put with Control Variates
AmerPutLSM_AV

Pricing plain vanilla American put with Antithetic Variates
EuPutBS

Black & Scholes solution for European put and call