Risk-neutral probabilities
OIPD returns risk-neutral probabilities. They are not real-world forecasts. They are probabilities consistent with option prices after discounting and the chosen pricing assumptions.Curve or surface
ProbCurve is for one expiry.
ProbSurface is for many expiries.
You can build probability objects directly from chains:
PDF and CDF
The probability layer exposes two standard views: the PDF and the CDF. The PDF is the probability density function. It shows where probability is concentrated across possible future prices. A higher PDF value around 100 than near prices with lower density. The CDF is the cumulative distribution function. It answers a direct threshold question: what is the probability that the future price ends below this level?quantile(0.5) returns the median price under the fitted risk-neutral distribution.
Across time
ProbSurface lets you ask the same questions at different maturities:
ProbCurve:
Diagnostics
Probability calculations can expose numerical issues, especially around CDF monotonicity. By default, OIPD usescdf_violation_policy="warn": it repairs material monotonicity issues and records warnings.
Use cdf_violation_policy="raise" when you prefer the calculation to fail instead.
Inspect .warning_diagnostics on fitted probability objects when results need review.