# Options Pricing Greeks delta, gamme, vega, theta, rho.

## Greeks show the sensitivity of an option price depending on the change of a single parameter.

**Option Delta**:

By definition, delta of an option is the amount of underlying asset increase/decrease causing the certain amount change in option price. In mathematical term it’s the first derivative with respect to the underlying asset’s price.

The delta of a call option is:

With the put-cal parity, the delta of put option is:

**Option Gamma**:

When the underlying moves so does the Delta value on any option. This rate of change of Delta resulting from movement of the underlying is known as Gamma.

The gamma of an option is:

**Option Vega**:

When any position is taken in options, not only is there risk from changes in the underlying but there is risk from changes in volatility. Vega is the measure of that risk. When the underlying changes, or even if it does not in some cases, implied volatility levels may change.

The vega of an option is:

**Option Theta**:

Change in OPTION price with respect to change in Term (T). This is known as time decay. This is always negative. As time passes, the option and gets closer to expiration, it becomes less valueable. Time erodes the value of the option.

The theta of a call option is:

The theta of a put option is:

**Option Rho**:

Rho is a risk measure related to changes in interest rates.

The rho of a call option is:

The rho of a put option is:

N.B: We will keep the same notations from the previous post!

```
1 import scipy
2 import math
3 from scipy import stats
4
5 #delta
6 cDelta = lambda s,k,v,r,t,div : math.exp(-div*t) * stats.norm.cdf(d1(s,k,v,r,t,div))
7 pDelta = lambda s,k,v,r,t,div : math.exp(-div*t) * (stats.norm.cdf(d1(s,k,v,r,t,div)) - 1)
8
9 #gamma
10 gamma = lambda s,k,v,r,t,div : math.exp(-div*t) * stats.norm.pdf(d1(s,k,v,r,t,div))/(s * v * scipy.sqrt(t))
11
12 #vega
13 vega = lambda s,k,v,r,t,div : s * math.exp(-div*t) * stats.norm.pdf(d1(s,k,v,r,t,div)) * scipy.sqrt(t)
14
15 #theta
16 cTheta = lambda s,k,v,r,t,div : -(s * v * stats.norm.pdf(d1(s,k,v,r,t,div)) / (2 * scipy.sqrt(t))) + \
17 (div * s * math.exp(-div*t) * stats.norm.cdf(d1(s,k,v,r,t,div))) - \
18 (r * k * math.exp(-r*t) * stats.norm.cdf(d2(s,k,v,r,t,div)))
19 pTheta = lambda s,k,v,r,t,div : -(s * v * stats.norm.pdf(d1(s,k,v,r,t,div)) / (2 * scipy.sqrt(t))) - \
20 (div * s * math.exp(-div*t) * stats.norm.cdf(d1(s,k,v,r,t,div))) + \
21 (r * K * math.exp(-r*t) * stats.norm.cdf(-d2(s,k,v,r,t,div)))
22
23 #rho
24 cRho = lambda s,k,v,r,t,div : k * t * math.exp(-r*t) * stats.norm.cdf(d2(s,k,v,r,t,div))
25 pRho = lambda s,k,v,r,t,div : -k * t * math.exp(-r*t) * stats.norm.cdf(-d2(s,k,v,r,t,div))
```