[Returnanalytics-commits] r3874 - pkg/Dowd/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 29 01:11:16 CEST 2015


Author: dacharya
Date: 2015-07-29 01:11:16 +0200 (Wed, 29 Jul 2015)
New Revision: 3874

Added:
   pkg/Dowd/man/AmericanPutVaRBinomial.Rd
Log:
Function AmericanPutVaRBinomial added.

Added: pkg/Dowd/man/AmericanPutVaRBinomial.Rd
===================================================================
--- pkg/Dowd/man/AmericanPutVaRBinomial.Rd	                        (rev 0)
+++ pkg/Dowd/man/AmericanPutVaRBinomial.Rd	2015-07-28 23:11:16 UTC (rev 3874)
@@ -0,0 +1,50 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/AmericanPutVaRBinomial.R
+\name{AmericanPutVaRBinomial}
+\alias{AmericanPutVaRBinomial}
+\title{Estimates VaR of American vanilla put using binomial tree.}
+\usage{
+AmericanPutVaRBinomial(amountInvested, stockPrice, strike, r, volatility,
+  maturity, numberSteps, cl, hp)
+}
+\arguments{
+\item{amountInvested}{Total amount paid for the Put Option.}
+
+\item{stockPrice}{Stock price of underlying stock.}
+
+\item{strike}{Strike price of the option.}
+
+\item{r}{Risk-free rate.}
+
+\item{volatility}{Volatility of the underlying stock.}
+
+\item{maturity}{Time to maturity of the option in days.}
+
+\item{numberSteps}{The number of time-steps considered for
+the binomial model.}
+
+\item{cl}{Confidence level for which VaR is computed.}
+
+\item{hp}{Holding period of the option in days.}
+}
+\value{
+VaR of the American Put Option
+}
+\description{
+Estimates VaR of American Put Option using binomial tree to price the option
+and historical method to compute the VaR.
+}
+\examples{
+# Market Risk of American Put with given parameters.
+   AmericanPutVaRBinomial(0.20, 27.2, 25, .16, .05, 60, 20, .95, 30)
+}
+\author{
+Dinesh Acharya
+}
+\references{
+Dowd, Kevin. Measuring Market Risk, Wiley, 2007.
+
+Lyuu, Yuh-Dauh. Financial Engineering & Computation: Principles,
+Mathematics, Algorithms, Cambridge University Press, 2002.
+}
+



More information about the Returnanalytics-commits mailing list