Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bull.call

Bull Call Spread


Description

Gives a table and graphical representation of the payoff and profit of a bull call spread for a range of future stock prices.

Usage

bull.call(S,K1,K2,r,t,price1,price2,plot=FALSE)

Arguments

S

spot price at time 0

K1

strike price of the long call

K2

strike price of the short call

r

yearly continuously compounded risk free rate

t

time of expiration (in years)

price1

price of the long call with strike price K1

price2

price of the short call with strike price K2

plot

tells whether or not to plot the payoff and profit

Details

Stock price at time t =S_t

For S_t<=K1: payoff =0

For K1<S_t<K2: payoff =S_t-K1

For S_t>=K2: payoff =K2-K1

profit = payoff + (price2 - price1)*e^{r*t}

Value

A list of two components.

Payoff

A data frame of different payoffs and profits for given stock prices.

Premiums

A matrix of the premiums for the call options and the net cost.

Note

K1 must be less than S, and K2 must be greater than S.

See Also

Examples

bull.call(S=115,K1=100,K2=145,r=.03,t=1,price1=20,price2=10,plot=TRUE)

FinancialMath

Financial Mathematics for Actuaries

v0.1.1
GPL-2
Authors
Kameron Penn [aut, cre], Jack Schmidt [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.