@FUNCTION=OPT_BS
![](/@@/translation-newline)
@SYNTAX=OPT_BS(call_put_flag,spot,strike,time,rate,volatility [,cost_of_carry])
![](/@@/translation-newline)
@DESCRIPTION=OPT_BS uses the Black-Scholes model to calculate the price of a European option using call_put_flag, @call_put_flag, 'c' or 'p' struck at @strike on an asset with spot price @spot.
![](/@@/translation-newline)
@time is the time to maturity of the option expressed in years.
![](/@@/translation-newline)
@rate is the risk-free interest rate.
![](/@@/translation-newline)
@volatility is the annualized volatility, in percent, of the asset for the period through to the exercise date.
![](/@@/translation-newline)
@cost_of_carry is the leakage in value of the underlying asset, for common stocks, this would be the dividend yield.
![](/@@/translation-newline)
* The returned value will be expressed in the same units as @strike and @spot.
![](/@@/translation-newline)
@EXAMPLES=
![](/@@/translation-newline)
@SEEALSO=OPT_BS_DELTA, OPT_BS_RHO, OPT_BS_THETA, OPT_BS_VEGA, OPT_BS_GAMMA