Repository navigation
Releases
Releases · zzx10-messi/QuantPricingEngine
v0.2.1 - Numerical stability and IV precision
Highlights
- Hardened scalar root finding against NaN, infinity, invalid brackets, and missing derivatives
- Standardized convergence failures with ConvergenceError
- Added RootFindingMethod enum for Brent, bisection, and safeguarded Newton methods
- Split implied-volatility accuracy into vol_tol and price_tol while preserving the legacy tol argument
- Added repricing-residual enforcement and adaptive volatility tolerance based on the Black-Scholes Vega bound
- Added deterministic zero-volatility pricing and consistent zero-volatility validation
- Decoupled Newton initial_guess from MarketData.volatility
- Improved runtime validation for NumPy real values and boolean inputs
- Added dedicated root-finding tests and expanded the suite to 56 tests
- Added Ruff, mypy, wheel-build, and 2,982-case IV grid verification
Verification
- 56 tests passed
- Ruff passed
- mypy passed
- Package wheel built successfully
- 2,982 IV grid cases passed with maximum repricing error below 1e-6
v0.2.0 - Pricing engine foundation
Highlights
- Reorganized the project into the option_pricing package structure
- Added European option products and Black-Scholes analytical pricing
- Added analytical Greeks
- Added reusable numerical root-finding utilities
- Added robust implied-volatility solving with Brent, bisection, and safeguarded Newton methods
- Added no-arbitrage validation, adaptive volatility bracketing, and convergence errors
- Expanded the automated test suite to 28 tests
This release keeps the project focused on pricing. Tree, Monte Carlo, finite-difference, and additional option products remain future milestones.
v0.1.0
Initial release of QuantPricingEngine.
Features:
- European call/put option pricing via Black-Scholes
- Greeks calculation (Delta, Gamma, Vega, Theta, Rho)
- Modular project structure
- Unit tests