QUANT ENGINE 2026 BSM & Uniswap v3 Math Engine Explore v3 IL Math →
ΔΘ
GreekVisualizer PRO
Options Greeks & DeFi IL Engine
INSTITUTIONAL QUANTITATIVE ENGINE • BSM & V3 AMM

Black-Scholes Options Greeks & DeFi Impermanent Loss Visualizer

Analytical partial differential equations meet automated market maker geometry. Model volatility surfaces, second-order convexity, and concentrated divergence loss in real time.

Quick Answer: Quantitative Derivatives & AMM Mechanics

Options Greeks measure derivative price sensitivities using Black-Scholes partial differential equations, quantifying directional delta, convexity gamma, volatility vega, and temporal theta decay. Simultaneously, Uniswap v3 concentrated liquidity creates synthetic options exposure where liquidity providers incur non-linear impermanent loss when asset ratios diverge across custom price boundaries compared to constant holding.

BSM Model Parameters

$100.00
$
$100.00
$
30 days
30.0%
%
4.50%
%
CALL OPTION ATM
$3.68
Intrinsic: $0.00 | Extrinsic: $3.68
PUT OPTION ATM
$3.31
Intrinsic: $0.00 | Extrinsic: $3.31
Delta (Δ)
Directional Rate
Call Delta
+0.5432
Put Delta
-0.4568
-1.0 (Short Put) 0 +1.0 (Long Call)
Gamma (Γ)
Curvature / Δ Velocity
Both Call & Put
0.0458

Delta shifts by +0.0458 per \$1 move in underlying asset. Peak at-the-money.

Theta (Θ)
Daily Decay
Call / Day
-$0.0682
Put / Day
-$0.0559

Expected calendar decay per 24 hours assuming volatility & spot remain invariant.

Vega (ν) & Rho (ρ)
1% Vol / Rate Sensitivities
Vega (per 1% σ)
+$0.1138
Call Rho (1% r)
+$0.0435

Option value changes by Vega when IV shifts 100 bps; Put Rho is -$0.0387.

Rigorous Quantitative Architecture

Financial Derivatives Cheatsheet & Analytical Equations

The Black-Scholes-Merton partial differential equation governs European option contracts under geometric Brownian motion assumptions, while Uniswap v3 re-engineers liquidity curves using piecewise constant product invariants with virtual reserves.

Black-Scholes-Merton PDE Solution BSM Closed-Form

Under lognormal diffusion $dS_t = \mu S_t dt + \sigma S_t dW_t$, the non-arbitrage valuation of standard calls and puts is:

d1 = (ln(S / K) + (r + sigma^2 / 2) * T) / (sigma * sqrt(T))
d2 = d1 - sigma * sqrt(T)

Call = S * N(d1) - K * exp(-r * T) * N(d2)
Put  = K * exp(-r * T) * N(-d2) - S * N(-d1)
          

N(x): Cumulative standard normal distribution function.

Put-Call Parity: C - P = S - K · exp(-rT).

Analytical Greeks Formulations Sensitivities

First- and second-order derivatives describing the risk landscape across price, time, and volatility:

Delta_call = N(d1)               Delta_put = N(d1) - 1
Gamma      = phi(d1) / (S * sigma * sqrt(T))
Vega       = S * sqrt(T) * phi(d1) * 0.01  [per 1% vol]
Theta_call = -(S * phi(d1) * sigma) / (2*sqrt(T))
             - r * K * exp(-r*T) * N(d2)   [/ 365 days]
Rho_call   = K * T * exp(-r*T) * N(d2) * 0.01
          

phi(x): Standard normal probability density (1 / √(2π)) · exp(-x2 / 2).

Convexity: Gamma is identical for both Calls and Puts.

Uniswap v3 Virtual Reserves & Liquidity Tick Math

Liquidity $L$ operates inside price boundary $[p_a, p_b]$. Virtual reserves shift the coordinate origin to bound capital:

When P in [Pa, Pb]:
x_real = L * (1 / sqrt(P) - 1 / sqrt(Pb))
y_real = L * (sqrt(P) - sqrt(Pa))

Position Value V(P) in terms of asset Y:
V(P) = x_real * P + y_real
     = L * (2 * sqrt(P) - sqrt(Pa) - P / sqrt(Pb))
          

Below p_a: 100% token X, V(P) = L · (1/√(p_a) - 1/√(p_b)) · P.

Above p_b: 100% token Y, V(P) = L · (√(p_b) - √(p_a)).

Concentrated Impermanent Loss Formula Divergence Loss

Relative divergence between active pool value V(P1) and passive holding VHODL(P1) = x0 · P1 + y0:

V_HODL(P1) = L * ((1/sqrt(P0) - 1/sqrt(Pb)) * P1 + (sqrt(P0) - sqrt(Pa)))

IL_v3 = (V_pool(P1) - V_HODL(P1)) / V_HODL(P1)

Capital Efficiency Multiplier:
Multiplier = 1 / (1 - sqrt(Pa / Pb))
          

Option Equivalence: An LP position replicates a short put spread plus fee cash flows.

Breakeven Condition: Cumulative Accrued Fees > |Impermanent Loss|.

Frequently Asked Quantitative Questions

How does the Black-Scholes formula calculate option Greeks?

Black-Scholes calculates Greeks by taking analytical partial derivatives of the option pricing function V(S, t, σ, r, K) with respect to each underlying variable. Delta is ∂V/∂S, Gamma is ∂2V/∂S2, Vega is ∂V/∂σ, Theta is ∂V/∂t, and Rho is ∂V/∂r. Because closed-form formulas exist, calculations execute instantaneously in client-side code without numerical discretization error.

What is the structural link between Uniswap v3 LP positions and option selling?

An LP depositing liquidity between [p_a, p_b] on an AMM has a concave payoff profile identical to an options short put spread or covered call. As price drops, the LP accumulates the depreciating asset (negative delta), and as price rises, the LP sells the appreciating asset into stablecoins. Trading fees generated by the pool represent synthetic option premium decay that subsidizes downside volatility exposure.

Why is Uniswap v3 Impermanent Loss magnified compared to Uniswap v2?

In Uniswap v2, liquidity is spread continuously across [0, ∞), meaning extreme price swings dilute the percentage loss over an infinite band. In Uniswap v3, the same capital is concentrated across a narrower price bracket [p_a, p_b]. This creates a capital efficiency boost of 1 / (1 - √(p_a/p_b)), which equally amplifies the rate of inventory turnover and divergence loss when prices leave the target range.

Can options Greeks be utilized to hedge Uniswap v3 impermanent loss?

Yes. Institutional liquidity providers actively hedge concentrated LP positions by computing the local Delta (Δ = dy/dP + x) and Gamma of their liquidity curve, and subsequently purchasing out-of-the-money put options or shorting perpetual futures contracts to achieve delta-neutrality and protect against tail-risk pool exhaustion.