Core objects
| Use case | One expiry | Many expiries |
|---|---|---|
| Implied volatility | VolCurve | VolSurface |
| Market-implied probability | ProbCurve | ProbSurface |
Workflow
Most work follows three steps:- Create an object, such as
VolCurve()orVolSurface(). - Fit it to an options chain and
MarketInputs. - Query it for implied vol, prices, Greeks, or probabilities.
Object choice
UseVolCurve when you have one expiry and want implied volatilities, option prices, Greeks, or a fitted smile plot.
Use VolSurface when you have several expiries and want implied volatility across strikes and time.
Use ProbCurve when you want probabilities for one expiry, such as P(S < 100) or the median future price.
Use ProbSurface when you want those probability questions across several future dates.
Warnings
Fitted objects keep structured warning details in.warning_diagnostics.
Use them when a result looks odd. They record issues such as stale quotes, skipped expiries, or repairs applied while building a probability distribution.