option.put {FinancialMath} | R Documentation |
Put Option
Description
Gives a table and graphical representation of the payoff and profit of a long or short put option for a range of future stock prices.
Usage
option.put(S,K,r,t,sd,price=NA,position,plot=FALSE)
Arguments
S |
spot price at time 0 |
K |
strike price |
r |
continuously compounded yearly risk free rate |
t |
time of expiration (in years) |
sd |
standard deviation of the stock (volatility) |
price |
specified put price if the Black Scholes pricing is not desired (leave as NA to use the Black Scholes pricing) |
position |
either buyer or seller of option ("long" or "short") |
plot |
tells whether or not to plot the payoff and profit |
Details
Stock price at time t
Long Position:
payoff = max
profit = payoff
Short Position:
payoff = -max
profit = payoff
Value
A list of two components.
Payoff |
A data frame of different payoffs and profits for given stock prices. |
Premium |
The price of the put option. |
Note
Finds the put price by using the Black Scholes equation by default.
Author(s)
Kameron Penn and Jack Schmidt
See Also
Examples
option.put(S=100,K=110,r=.03,t=1,sd=.2,price=NA,position="short")
option.put(S=100,K=110,r=.03,t=1,sd=.2,price=NA,position="long")