Option Gamma (Convexity) Calculation - Quant Researcher Interview Question
Difficulty: Medium
Category: derivatives
Asked at: Goldman Sachs, Citadel, SIG, Optiver
Topics: options, greeks, black-scholes, numpy
Problem Description
Gamma ($\Gamma$) is a second-order Greek that quantifies the curvature of an option's value relative to the underlying asset price, effectively measuring the rate of change of Delta. In quantitative risk management, this metric is essential for dynamic hedging strategies, as it indicates the stability of a delta-neutral position and determines the frequency of rebalancing required to mitigate directional risk.
Task
Implement a function solution(S, K, T, r, sigma) that calculates the Gamma for a
Practice this medium researcher interview question on MyntBit - the LeetCode for quants with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.