Skip to content

OIPD v2.0.4

Latest

Choose a tag to compare

@tyrneh tyrneh released this 28 Apr 22:32
· 1 commit to main since this release
ae0eb50

We made a no-code web interface!

  • Check open-lemma.com
  • And revamped the documentation to be much clearer

Thanks to our new contributors 👇 👇

A lot of bug fixes!

Probability Domain and CDF Improvements

  • Added full-domain probability grids for ProbCurve and ProbSurface,
    including smart grid_points=None sizing and explicit full_domain=True
    exports/plots.
  • CDFs now use the 1st derivative of call-price instead of integrating
    the PDF (which is itself a 2nd derivative)
  • density_results() and plot() now default to compact, smooth view domains;
    points controls view resolution, while grid_points controls native
    numerical resolution.

Lazy Probability Materialization

  • Added lazy probability materialization for ProbCurve and ProbSurface.
    Probability objects store the fitted-volatility recipe first and
    build price/PDF/CDF arrays only when queried, exported, or plotted.
  • implied_distribution() now accepts grid_points=None and
    cdf_violation_policy="warn".

Warning Diagnostics

  • Added warning_diagnostics events and summaries on public curve and surface
    objects, with concise grouped warnings instead of repeated row/expiry noise.
  • Added warn-and-repair CDF monotonicity handling via
    cdf_violation_policy="warn"; strict users can choose "raise".
  • Added diagnostics for stale quotes, price fallback, SVI butterfly risk,
    skipped expiries, CDF repairs, and fan-chart skips.

Market Data, Forward Inference, and SVI Robustness

  • Improved Black-76 put-call parity forward inference: nearest-ATM selection,
    selected-subset outlier filtering, richer diagnostics, and no influence from
    far-from-ATM pairs that merely pass validation.
  • Temporarily disabled the default bid/ask relative-spread gate; explicit
    max_bid_ask_relative_spread values still apply.
  • Added bid/ask-only ingestion, raw yfinance
    spot handling, and lowercase volume preservation.
  • Fixed SVI weighting so reliable bid/ask spreads take precedence over volume,
    with diagnostics for the chosen auxiliary weight source and fallback reason.
  • Simplified the public volatility/probability API by hiding legacy
    Black-Scholes, Newton solver, and explicit dividend-input knobs; default fits
    remain parity-forward Black-76.