ajouts Epps

This commit is contained in:
François Pelletier 2014-02-13 23:47:34 -05:00
parent 3611a746a9
commit 72d149832c
9 changed files with 143 additions and 6 deletions

30
man/parity.Rd Normal file
View file

@ -0,0 +1,30 @@
\name{parity}
\alias{parity}
\title{Put-Call Parity}
\usage{
parity(optionvalue, strikeprice, eval.time, expiry.time, rate, toPut = TRUE)
}
\arguments{
\item{optionvalue}{Option price}
\item{strikeprice}{Strike price}
\item{eval.time}{Evaluation time}
\item{expiry.time}{Expiry time}
\item{rate}{Continuously compounded interest rate (force
of interest)}
\item{toPut}{Boolean, Call to Put or Put to Call ?}
}
\value{
Option price
}
\description{
Put-Call Parity
}
\author{
François Pelletier
}

36
man/putEpps.Rd Normal file
View file

@ -0,0 +1,36 @@
\name{putEpps}
\alias{putEpps}
\title{European put option pricing using characteristic function}
\usage{
putEpps(char.fn, strikeprice, eval.time, expiry.time, rate, ...,
int.bounds = c(-Inf, Inf))
}
\arguments{
\item{char.fn}{Characteristic function of the price level
at expiry time}
\item{strikeprice}{Strike price, relative to a unit stock
price}
\item{eval.time}{Evaluation time}
\item{expiry.time}{Expiry time}
\item{rate}{Continuously compounded interest rate (force
of interest)}
\item{...}{Parameters of the characteristic function}
\item{int.bounds}{Integration bounds for the integrate()
method used. Defaults to infinite bounds.}
}
\value{
European put option price
}
\description{
As seen in Epps (2009)
}
\author{
Francois Pelletier
}

30
man/zerobond.Rd Normal file
View file

@ -0,0 +1,30 @@
\name{zerobond}
\alias{zerobond}
\title{zerobond}
\usage{
zerobond(eval.time, expiry.time, rate, face = 1)
}
\arguments{
\item{eval.time}{Evaluation time}
\item{expiry.time}{Expiry time}
\item{rate}{Continuously compounded interest rate (force
of interest)}
\item{face}{Face value}
}
\value{
Actualised price of bond
}
\description{
Evaluate the price of a zero coupon bond
}
\details{
Evaluates the actualised price of a bond using interest
rate and face value
}
\author{
François Pelletier
}