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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jul 31 11:26:27 CEST 2015


Author: dacharya
Date: 2015-07-31 11:26:27 +0200 (Fri, 31 Jul 2015)
New Revision: 3892

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

Added: pkg/Dowd/man/ShortBlackScholesPutVaR.Rd
===================================================================
--- pkg/Dowd/man/ShortBlackScholesPutVaR.Rd	                        (rev 0)
+++ pkg/Dowd/man/ShortBlackScholesPutVaR.Rd	2015-07-31 09:26:27 UTC (rev 3892)
@@ -0,0 +1,49 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/ShortBlackScholesPutVaR.R
+\name{ShortBlackScholesPutVaR}
+\alias{ShortBlackScholesPutVaR}
+\title{Derives VaR of a short Black Scholes put option}
+\usage{
+ShortBlackScholesPutVaR(stockPrice, strike, r, mu, sigma, maturity, cl, hp)
+}
+\arguments{
+\item{stockPrice}{Stock price of underlying stock}
+
+\item{strike}{Strike price of the option}
+
+\item{r}{Risk-free rate and is annualised}
+
+\item{mu}{Mean return}
+
+\item{sigma}{Volatility of the underlying stock}
+
+\item{maturity}{Term to maturity and is expressed in days}
+
+\item{cl}{Confidence level and is scalar}
+
+\item{hp}{Holding period and is scalar and is expressed in days}
+}
+\value{
+Price of European put Option
+}
+\description{
+Function derives the VaR of a Short Black Scholes put for specified
+confidence level and holding period, using analytical solution.
+}
+\examples{
+# Derives VaR of a short Black Scholes put option
+   ShortBlackScholesPutVaR(27.2, 25, .03, .12, .2, 60, .95, 40)
+}
+\author{
+Dinesh Acharya
+}
+\references{
+Dowd, Kevin. Measuring Market Risk, Wiley, 2007.
+
+Hull, John C.. Options, Futures, and Other Derivatives. 4th ed., Upper Saddle
+River, NJ: Prentice Hall, 200, ch. 11.
+
+Lyuu, Yuh-Dauh. Financial Engineering & Computation: Principles,
+Mathematics, Algorithms, Cambridge University Press, 2002.
+}
+



More information about the Returnanalytics-commits mailing list