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

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


Author: dacharya
Date: 2015-07-31 11:25:11 +0200 (Fri, 31 Jul 2015)
New Revision: 3890

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

Added: pkg/Dowd/man/LongBlackScholesPutVaR.Rd
===================================================================
--- pkg/Dowd/man/LongBlackScholesPutVaR.Rd	                        (rev 0)
+++ pkg/Dowd/man/LongBlackScholesPutVaR.Rd	2015-07-31 09:25:11 UTC (rev 3890)
@@ -0,0 +1,49 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/LongBlackScholesPutVaR.R
+\name{LongBlackScholesPutVaR}
+\alias{LongBlackScholesPutVaR}
+\title{Derives VaR of a long Black Scholes put option}
+\usage{
+LongBlackScholesPutVaR(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 long Black Scholes put for specified
+confidence level and holding period, using analytical solution.
+}
+\examples{
+# Estimates the price of an American Put
+   LongBlackScholesPutVaR(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