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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jul 30 01:11:18 CEST 2015


Author: dacharya
Date: 2015-07-30 01:11:18 +0200 (Thu, 30 Jul 2015)
New Revision: 3883

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

Added: pkg/Dowd/man/BlackScholesPutESSim.Rd
===================================================================
--- pkg/Dowd/man/BlackScholesPutESSim.Rd	                        (rev 0)
+++ pkg/Dowd/man/BlackScholesPutESSim.Rd	2015-07-29 23:11:18 UTC (rev 3883)
@@ -0,0 +1,54 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/BlackScholesPutESSim.R
+\name{BlackScholesPutESSim}
+\alias{BlackScholesPutESSim}
+\title{ES of Black-Scholes put using Monte Carlo Simulation}
+\usage{
+BlackScholesPutESSim(amountInvested, stockPrice, strike, r, mu, sigma, maturity,
+  numberTrials, cl, hp)
+}
+\arguments{
+\item{amountInvested}{Total amount paid for the Put Option and is positive
+(negative) if the option position is long (short)}
+
+\item{stockPrice}{Stock price of underlying stock}
+
+\item{strike}{Strike price of the option}
+
+\item{r}{Risk-free rate}
+
+\item{mu}{Expected rate of return on the underlying asset and is in
+annualised term}
+
+\item{sigma}{Volatility of the underlying stock and is in annualised
+term}
+
+\item{maturity}{The term to maturity of the option in days}
+
+\item{numberTrials}{The number of interations in the Monte Carlo simulation
+exercise}
+
+\item{cl}{Confidence level for which ES is computed and is scalar}
+
+\item{hp}{Holding period of the option in days and is scalar}
+}
+\value{
+ES
+}
+\description{
+Estimates ES of Black-Scholes Put Option using Monte Carlo simulation
+}
+\examples{
+# Market Risk of American Put with given parameters.
+   BlackScholesPutESSim(0.20, 27.2, 25, .03, .12, .05, 60, 1000, .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