Description Usage Arguments Details Note Author(s) Source See Also Examples
Uses black Scholes formula to calculate the value of an option.
1 | bs_withdiv(S, K, r, vol, mat, q = 0)
|
S |
Current stock price |
K |
Strike price |
r |
Risk free rate of return |
vol |
Volatility of the stock expressed as σ |
mat |
Time to maturity |
q |
Dividend rate, continuous |
You need to convert r
and vol
to match the time period
mat
.
Assumes that the option is european, there is a constant risk-free interest rate, the stock price follows geometric Brownian motion with constant drift and volatility, and the stock does not pay a dividend. Also assumes that there are no transaction costs and the market is frictionless.
Gene Leynes
http://en.wikipedia.org/wiki/Black-Scholes_model
Options, Futures and Other Derivatives (6th Edition) by John C. Hull
1 2 | bs_withdiv(S=370, K=485, r=.04, vol=.1, mat=2, q=0)
bs_withdiv(S=370, K=485, r=.04, vol=.1, mat=2, q=.01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.