Description Usage Arguments Details Value Examples
Calculates the cost of a European call option under the black scholes model.
1 | eur_call_bsm(S, K, r, sigma, d, term)
|
S |
The current price of the underlying asset (i.e. stock) |
K |
The strike / exercise price of the option |
r |
The risk free interest rate |
sigma |
The volatility of the option |
d |
The continuously compounded dividend rate |
term |
The time to expiration |
bsm stands for the black scholes model.
The cost of a European call option
1 | eur_call_bsm(40,40,0.05,0.20,0.02,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.