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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jul 30 01:08:59 CEST 2015


Author: dacharya
Date: 2015-07-30 01:08:59 +0200 (Thu, 30 Jul 2015)
New Revision: 3879

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

Added: pkg/Dowd/man/BlackScholesCallESSim.Rd
===================================================================
--- pkg/Dowd/man/BlackScholesCallESSim.Rd	                        (rev 0)
+++ pkg/Dowd/man/BlackScholesCallESSim.Rd	2015-07-29 23:08:59 UTC (rev 3879)
@@ -0,0 +1,54 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/BlackScholesCallESSim.R
+\name{BlackScholesCallESSim}
+\alias{BlackScholesCallESSim}
+\title{ES of Black-Scholes call using Monte Carlo Simulation}
+\usage{
+BlackScholesCallESSim(amountInvested, stockPrice, strike, r, mu, sigma,
+  maturity, numberTrials, cl, hp)
+}
+\arguments{
+\item{amountInvested}{Total amount paid for the Call 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 call Option using Monte Carlo simulation
+}
+\examples{
+# Market Risk of American call with given parameters.
+   BlackScholesCallESSim(0.20, 27.2, 25, .16, .2, .05, 60, 30, .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