Skip to content
All library documents

Validating Black–Scholes Delta Hedging with P&L Distributions

Article Quant Q&A · Author: Idonknow

Summary

The document asks how to check a Python implementation of delta hedging for a short European call, offset by a long position in the stock sized to the option’s delta. It proposes examining the distribution of the combined hedge-and-option profit and loss across simulated outcomes. Under the stated model, the mean should be near zero and the distribution should have a roughly Gaussian shape.

This gives a practical diagnostic for an implementation, but the document does not provide a derivation, code, or simulation results. Those distributional expectations depend on model assumptions and the simulation setup; transaction costs, discrete rebalancing, volatility misspecification, and other real-world effects can change the results. The suggested check is therefore a useful sanity test rather than proof that the hedge is implemented correctly.

Key ideas

  • Evaluate the combined P&L of the hedge and short option across simulated outcomes.
  • The suggested model-based check expects mean P&L near zero.
  • A roughly Gaussian P&L distribution is another proposed diagnostic.
  • Simulation results depend on assumptions and do not alone establish implementation correctness.

Tags

Full text
# Is there any way to check my delta hedging is implemented correctly?


# Is there any way to check my delta hedging is implemented correctly?












When implementing a Black-Scholes delta-neutral portfolio using Python to perform delta hedging, I am not sure whether I implemented it correctly or not.

Unlike coding binomial trees for European call option, we can compare Black-Scholes analytical pricing formula with the price given by binomial tree model. If they have small difference, it means that we have coded the tree correctly. Otherwise, it is not correct.

Is there any way we can use to check my delta hedging is implemented correctly?

The portfolio I am considering here is to hedge a short position of a European call option. So, the portfolio consists of longing delta shares of stock and shorting a call option.

Based on my limited knowledge, the only and naive way to check my delta hedging is on track is that through Black-Scholes European price, we know that the portfolio is upper bounded by strike price of the option.

However, other than this, I do not know what else to check.

## Answer by alexprice (score 4, accepted)

https://quant.stackexchange.com/a/54701

One way to check your hedging strategy would be to calculate its PNL distribution (histogram) of ( hedging strategy + option) . Mean PNL should be around 0, and shape should look like gaussian.

Also you can check https://www.pricederivatives.com/en/simple-example-simulation-of-delta-hedging-with-python/

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.