powered by
Calculates the delta of the European- style call option
calldelta(s, x, sigma, t, r, d = 0)
Spot price of the underlying asset
Strike price of the option
Implied volatility of the underlying asset price, defined as the annualized standard deviation of the asset returns
Time to maturity in years
Annual continuously-compounded risk-free rate, use the function r.cont
Annual continuously-compounded dividend yield, use the function r.cont
Returns the call delta
The delta of an option can be defined as the rate of change of the option value given a $1 change in the underlying asset price.
# NOT RUN { calldelta(100, 100, 0.20, (45/365), 0.02, 0.02) # }
Run the code above in your browser using DataLab