[Returnanalytics-commits] r3888 - pkg/Dowd/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Jul 31 11:24:14 CEST 2015
Author: dacharya
Date: 2015-07-31 11:24:14 +0200 (Fri, 31 Jul 2015)
New Revision: 3888
Added:
pkg/Dowd/man/LongBlackScholesCallVaR.Rd
Log:
Function LongBlackScholesCallVaR added.
Added: pkg/Dowd/man/LongBlackScholesCallVaR.Rd
===================================================================
--- pkg/Dowd/man/LongBlackScholesCallVaR.Rd (rev 0)
+++ pkg/Dowd/man/LongBlackScholesCallVaR.Rd 2015-07-31 09:24:14 UTC (rev 3888)
@@ -0,0 +1,49 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/LongBlackScholesCallVaR.R
+\name{LongBlackScholesCallVaR}
+\alias{LongBlackScholesCallVaR}
+\title{Derives VaR of a long Black Scholes call option}
+\usage{
+LongBlackScholesCallVaR(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 Call Option
+}
+\description{
+Function derives the VaR of a long Black Scholes call for specified
+confidence level and holding period, using analytical solution.
+}
+\examples{
+# Estimates the price of an American Put
+ LongBlackScholesCallVaR(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