Learn R Programming

AmericanCallOpt (version 0.95)

am_call_perpetual: Analytical pricing of an American perpetual call

Description

Pricing of an American perpetual call option using an analytical formula

Usage

am_call_perpetual(S, K, r, y, sigma)

Arguments

S
spot price
K
exercise price
r
risk-free interest rate
y
dividend yield from underlying asset
sigma
volatility

Value

call_price
Option price

Details

A perpetual option is one with no maturity date. This obviously applies only to the case of American-style options. Analytical formulas are available in this case both for call and put options.

References

John Hull, "Options, Futures and other Derivative Securities", Prentice-Hall, second edition, 1993.

Examples

Run this code
rm(list=ls())

S<-50.0 
K<-40.0
r<-0.05 
y<-0.02
sigma<-0.05

call_price_perpetual<-am_call_perpetual(S, K, r, y, sigma)

Run the code above in your browser using DataLab