17 Nov 2026
- Added the ISDA Standard CDS pricing model alongside the existing O'Kane–Turnbull pricing model.
- Added explicit cash settlement date handling, with a default of T+3 business days.
- Added support for accruing premium from the contractual step-in date.
- Added the option to disable accrued premium on default.
- Revised CDS step-in, effective protection and accrual date conventions.
- Separated payment dates from accrual start and end dates.
- Corrected the treatment of the final accrual period, including the maturity date.
- Standardised clean and dirty PV and risky PV01 conventions.
- Corrected the discounting of the accrued premium rebate to the cash settlement date.
- Improved consistency between CDS valuation, par spread, upfront, clean price and cash settlement calculations.
- Updated the O'Kane–Turnbull model to use the revised CDS date and accrual conventions.
- Moved the CDS pricing model selection into CDSCurve to ensure that calibration and subsequent valuation use the same pricing model.
- Changed CDS curve calibration to target zero clean PV rather than zero dirty PV.
- Improved the initial survival probability guess using the credit triangle approximation.
- Generalised the initial survival probability guess to support multi-node survival curves.
- Ensured that credit, interest rate and recovery sensitivities preserve the selected pricing model during curve recalibration.
- Introduced a shared analytical CDS pricing kernel based on flat hazard rates and continuously compounded discount rates.
- Added NumPy broadcasting support for vectorised CDS valuations.
- Improved numerical stability for small hazard and discount rates.
- Separated curve recovery from contractual protection recovery.
- Implemented central finite-difference calculations for spread, interest rate and recovery sensitivities.
- Standardised the fast approximation output to include dirty PV, clean PV, dirty RPV01, clean RPV01, spread DV01, interest rate DV01 and recovery DV01.
- Integrated fixed-recovery CDS valuation with the revised standard CDS pricing framework.
- Introduced a shared fast approximation kernel for standard and fixed-recovery CDS contracts.
- Added distinct recovery sensitivity calculations that hold contractual fixed recovery unchanged when bumping curve recovery.
- Eliminated unnecessary Date object construction when calculating accrual end times.
- Cached valuation-date-dependent CDS premium leg schedules and numerical integration inputs.
- Added cache invalidation when contractual schedules or accrual factors are regenerated.
- Avoided unnecessary detailed valuation logging when logging is inactive.
- Optimised pricing step-in date calculations to avoid redundant Date object construction.
- Reduced survival curve calibration objective evaluations by 40.5% through an improved initial survival probability guess.
- Reduced CDS pricing-grid execution time by 59.1%, from 15.158 seconds to 6.199 seconds.
- Reduced CDS curve bootstrap cumulative execution time by 75.5%.
- Reduced RPV01 cumulative execution time by 83.8%.
- Added end-to-end regression testing against the official ISDA USD SOFR CDS pricing grid dated 26 April 2021.
- Added original ISDA market rate and pricing grid CSV fixtures.
- Constructed the SOFR discount curve directly from the 19 original market OIS quotes using FinancePy.
- Validated all 3,582 survival curve calibrations and 7,164 CDS pricing scenarios.
- Passed all 35,820 external numerical comparisons covering upfront, cash settlement, clean price, accrued days and accrued premium.
- Achieved a maximum upfront pricing error of approximately USD 0.000135 on USD 10 million notional.
- Integrated the ISDA pricing grid into the FinTestCases regression testing framework, with individual output rows for each CDS.
- Added detailed CSV reports containing reference values, calculated values and pricing errors.
- Updated CDS regression tests for the revised clean and dirty valuation conventions and public method signatures.
- Removed the CDS pricing model argument from individual CDS valuation methods. The pricing model is now specified when constructing CDSCurve.
- Revised CDS valuation method signatures to support explicit cash settlement dates and accrued premium on default controls.
- Removed the redundant recovery rate argument from premium_leg_pv().
- CDS accrued_days() and accrued_interest() now take the valuation date rather than the pricing step-in date.
- Revised the return values of value_fast_approx() to include both clean and dirty risky PV01 and all three risk sensitivities.
- CDS curve calibration instruments now have zero clean PV rather than zero dirty PV.
15 Nov 2026
- Fixed IR_DV01 bug in CDS class
- Added comprehensive logging framework called valuation_log
- Added logging to various CDS functions
- Renamed some cds_model functions
- Added treatment of some small r+lambda edge cases in cds_model
- Moved bond_market to utils folder
- Shortened risky_pv01 to rpv01
- Removed CDSForward product as it can be done by CDS
- Make sure Date constructor handes y,m,d as integers
- Updated Golden regression tests folder
- Tidied up equity_lsmc.py to remove Laguerre warning
2 Nov 2026
- Widespread removal of _ in printing of objects
- Added default_times.py to models
- Added moment matching and sobol to gauss_copula
- Renamed loss_dbn_builder to indep_loss_dbn_builder
- Added adaptive integration to gauss_copula_one_factor model
- Added moment matching and sobol to student_t_copula default times simulation
- Bond handles settlement = maturity
- Many improvements to CDS Basket to speed up code and homogenize API
- Added spread_dv01s to CDSBasket
- Removed uniform_to_default times from helpers to models folder
- Added latex class with helpful output functions
26 Oct 2026
- Removed currency pair from FX Vanilla option value function call
- Removed currency pair from FX Vanilla option greeks function call 25 Oct 2026
- Tidying up FXVolSurfaces
- Added currency_pair to FXVolSurface
- Switch to use value date as option start in FXVolSurfacePlus
- Switch to use value date as option start in FXVanillaOption
- Removed all FXRate references
- Added EquityQuantoForward product type
- Added EquityQuantoOption product type
- Added Product class
- Added Trade class
- check_curve_dt now takes list of curve arguments
- Moved fx_conventions to utilities
- Restored regression tests to work without FXRate
14 Oct 2026
- Added example script for EquityGapOption
- Renamed black_scholes_analytic to bs_european_analytic in models folder
- Removed graph format setters from plot functionality Wish to have all Black-Scholes model file names start with bs_
- Added bs_european_analytic
- Added bs_equity_asian_option
- Added bs_equity_asian_option_mc
- Added bs_equity_chooser_option
- Added bs_equity_compound_option
- Added bs_equity_one_touch_option
- Added bs_power_option
- Removed equity_asian_option_mc
- Removed equity_asian_option_bs
- Removed equity_chooser_bs
- Removed equity_compound_bs
- Removed equity_one_touch_bs
- Renamed barrier_option_mc to bs_barrier_option_mc
- Renamed barrier_option_model to bs_barrier_option
- Renamed BlackScholesTypes to BlackScholesAlgorithmTypes
- Added bs_american_analytic
- Minor edits to cir_monte_carlo
- Added Numba to finite_difference plus bug fixes
- Added Numba to finite_difference_psor plus bug fixes
- Validation checks in gauss_copula_lhplus
- Added use of option_years in bond_option
- Added use of option_years in cds_option
- Changes to EquityAmericanOption
- Changes to EquityAsianOption
- Changes to EquityBarrierOption
- Changes to EquityBasketOption
- Changes to EquityChooserOption
- Changes to EquityCliquetOption
- Changes to EquityCompoundOption
- Changes to EquityForwardStartOption
- Changes to EquityGapOption
- Changes to EquityOneTouchOption
- Changes to EquityPowerOption
- Changes to EquityVanillaOption
- Revised bumping in EquityOption
- Added option_years to fx_digital_option
- Added option_years to fx_double_digital_option
- Added option_years to fx_double_one_touch_option
- Redesign fx_forwards
- Added FXRate classes
- Added FXSpot class
- Updated FXMarketConventions
- Added option_years to fx_rainbow_options
- Added option_years to fx_one_touch_options
- Added option_years to fx_vanilla_options
- Changed Amount to use currency string
- Added check_currency to check_values
- Extended currency.py to more countries
- Deleted format_graphs replaced with plot_style
- Updated test cases and regression tests
- Revised README
1 Oct 2026
- EquityCliquetOption now allows price and return-based payoffs
- EquityCliquetOption now allows payoffs at period end or at expiry
- Added Monte Carlo pricer to EquityCliquetOption
30 Sep 2026
- EquityAsianOption inherits EquityOption enabling it to get all Greeks for free
- Renamed functions in utils.stats.py to std_err and std_dev
- Introduce MCResult to encapsulate monte carlo value and standard error
- Applied MCResult to Asian options and Equity vanilla options
- Fixed bug in Date class - rsub was reversed in order
27 Sep 2026 List of changes
- Corrected Curran algorithm for Asian Option
- Hid the TW implementation for continuous averaging as it is atypical and breaks API
- Amended TW impklementation to handle discrete averaging
- Added control variate MC Asian option pricer
- Unified asian valuation model into a single file - plan to remove equity_asian_option_mc and bs
- Hide some functions in bond.py from html documentation using _ prefix
- Updated autogenerated html documentation which now shows Enums and Types clearly
25 Sep 2026 Notable changes
- *** New policy on importing enumerated types from global_types Only those types that are shared by multiple options or other modules will be global The rest will be local. I reverse the previous changes as follows:
- Moved YTMCalcType back into Bond
- Moved ProcessTypes back into ProcessSimulator
- Moved CIRNumericalSchemeTypes back into ProcessSimulator
- Moved HestonNumericalSchemeTypes back into ProcessSimulator
- Moved CIRNumericalSchemeTypes back into ProcessSimulator
- Moved VasicekNumericalSchemeTypes back into ProcessSimulator
- Moved HWEuropeanCalcTypes back into HW_Tree
- Repaired all notebooks and scripts affected Other changes
- Moved run script for regression tests into the scripts folder
- Fixed all example notebooks that broke due to change in imports policy (wildcards only work for utils folder)
- Fixed all example scripts that broke due to change in imports policy (wildcards only work for utils folder)
- Fixed bug in print function of zero_rates_discount_curve
- Type checking CDS functions to take only CDSCurve
- Added overloads to Date class to avoid lots of pylint confusion
- Renamed FinLossDistributionBuilder to DefaultLossDbnAlgoTypes
24 Sep 2026 List of changes
- PR on FX OneTouch options
- Unified FX and Equity Barrier option analytic models
24 Sep 2026 List of changes
- Comprehensive addition of type annotations to all public class functions for the documentation
- Corrected some import issues in examples following removal of .init wildcard imports
- Made set_plot_tyle() calculate inside initial load to enforce common plotting format_graphs
- Import set_date_format function automatically
- Added FX Barrier, FXAmerican and FXDigital examples
23 Sep 2026 List of changes
- Completed equity examples
- *** Moved variables ONE_MILLION, ONE_BILLION from utils.math to utils.global_vars
- Removed all * imports for products - this reduces initial run from 1 minute to seconds!
- The only wildcard import remaining is for utils folder so `from financepy.utils import *' works
- This exposed some incomplete imports that have been fixed
- Improved implied volatility calculation by providing custom Numba secant and bisection functions
- Error checks added to swap_fixed_leg print_valuation()
- Regression tests and unit tests work
22 Sep 2026 List of changes
- Added example scripts for all bonds, credit and most equity products
- Renamed value_dt in all discount curves to anchor date as value date is ambiuguous
- Renamed time_dc_type to curve_dc_type in all discount curves to make clear it is a curve property
- In composite curves I check all curves have same curve_dc_type
- Renamed InflationBond to BondInflation and move to bond products folder
- Moved Inflation curves to market.curves folder
- Asian option changed num_obs to num_obs_per_year
- Asian option changed num_obs to num_obs_per_year
- Fixed failure to solve root in EquityCompoundOption
- Fixed bug in equity_one_touch_bs.py
- Fixed minor bug in equity_binomial_tree was not using cc zero rate
- Move all calculation of r and q to use curve method zero_rate_cc and dates
- Moved equity_fixed_lookback_option to use model input not vol
- Moved equity_float_lookback_option to use model input not vol
- Added correlation matrix checker to utils.check_values
- Added CV pricing of equity rainbow option
- Centralised graph formatting to format_graphs set_plot_style() function
19 Sep 2026 List of changes
- Split tests into multiple types - unit, regression and validation
- created examples folder with scripts and notebooks
19 Sep 2026 List of changes
- Renamed all camel case inflation modules to be snake case
- Renamed all camel case swap modules to be snake case
- Removed various print statements
- In IborDepo renamed accrual_dc_type to dc_type
18 Sep 2026 Part 3 List of changes
- *** Global renaming of curve value date to anchor date for better clarity
18 Sep 2026 Part 2 List of changes
- Small change to indep_loss_dbn_hetero_adj_binomial using floor - see change in file
- AsianOptionValuationMethods changed to AsianOptionValuationTypes
- Cleaned up unused imports
18 Sep 2026 Part 1 List of changes
- Moved DIRTY and CLEAN indices to global vars
- Added dc_type to CDS curve
- Added curve_years function to discount_curve
- Global enforcement of value_dt removing valuation_date
- Ensure all swap calibration is based on value_dt
- Move calculation of r and q to curve.zero_rate_cc
- Migrated several valuation models from products to models folder
- Added checks for curve anchor dates - check_curve_dt
- Added checks for stock prices
- Added function option_years
- Enforced use of t_exp in options as much as possible
16 Sep 2026 List of changes
- Added check_values module to init to check values of specific input types in one place
- Reordered inputs to ZeroRatesDiscountCurve so dc_type is 5th not 6th input
- Added format_graphs.py to utils to standardise plotting look
- Renamed Svensson curve type to NelsonSiegelSvensson
- Renamed Polynomial(3) curve type to CubicPolynomial
- Renamed Polynomial(4) curve type to QuarticPolynomial
- Renamed Polynomial(5) curve type to QuinticPolynomial
- Renamed Svensson curve types to NelsonSiegelSvensson
- BondParametricYieldCurve now takes a CurveFitType rather than a stateful object
- BondParametricDiscountCurve now takes a CurveFitType rather than a stateful object
- black_scholes_analytic - fixed implied volatility stability
- Added CEV model to models
- Added Dupire model to models
- Added forward pricers to models for FX, equity, rates, commodities
- Enhance Heston model in models
- Added implied_volatility_surface to models
- Added lognormal mixture model to models
- Added lognormal mixture surface model to models
- Improved MertonFirm model function names
- Improved MertonFirmMkt model function names
- Added MertonJumpDiffusion model to models
- Added dedicated SVI model to models
- Added dedicated SVISurface model to models
- Added dedicated SSVISurface model to models
- Fixed bug in units in bond_zero
- Updated regression tests
- Updated unit tests
- Updated notebooks
21 August 2026 - RELEASE OF FINANCEPY V1.1.2 List of changes
- EquityChooserOption - enforced term structure for q and r
- EquityChooserOption - handled t = t_c
- EquityVolCurve - Amended constructor to hold all internal info
- EquityVolCurve - Added new and improved interpolation schemes
- EquityVolCurve - Added new and improved extrapolation schemes
- black_scholes_analytic - Added fwd, d1, and d2 functions
- black_scholes_analytic - fixed and vectorised American option analytic approximations
- black_scholes_hedging_sim - added new numba BS delta hedging simulator
- black_scholes_mc - moved option_type to last argument in line with black_scholes_analytic
- option_implied_dbn - improved
- EquityForwardStart - new product type
- math.py - vectorisation of M function for bivariates
- Fast solver in IborSingleCurve
10 August 2026 List of changes
- Renaming changes
- FinCompoundingTypes renamed OISCompoundingTypes
- FinProcessSimulator renamed ProcessSimulator
- FinFXATMTypes renamed FXATMTypes
- FinFXDeltaMethodTypes renamed FXDeltaMethodTypes
- FinInflationIndexCurve renamed InflationIndexCurve
- FinInflationSwap renamed InflationSwap
- FinInflationBond renamed InflationBond
- Migration of types to global_types file
- InterpTypes moved to global_types.py
- VolFuncTypes moved to global_types.py
- FXATMTypes moved to global_types.py
- FXDeltaMethodTypes moved to global_types.py
- BlackTypes moved to global_types.py
- BlackScholesTypes moved to global_types.py
- CIRNumericalSchemeTypes moved to global_types.py
- HestonNumericalSchemeTypes moved to global_types
- LMMModelTypes moved to global_types.py
- GBMNumericalSchemeTypes moved to global_types.py
- YTMCalcType moved to global_types.py
- ProcessTypes moved to global_types.py
- FXBarrierTypes moved to global_types.py
- OISCompoundingTypes moved to global_types.py
- HWEuropeanCalcTypes moved to global_types.py
- DigitalOptionTypes moved to global_types.py
9 August 2026
- Added more calendars
- AUSTRALIA_RITS
- SINGAPORE
- ZURICH
- TOKYO
- US GOVERNMENT SECURITIES
- US FEDERAL RESERVE
- TORONTO
- HONK KONG
- Joint calendars are now possible for following classes
- CDS
- CDS_BASKET
- CDS_TRANCHE
- CDS_OPTION
- EQUITY_SWAP
- EQUITY_SWAP_LEG
- IBOR_BASIS_SWAP
- IBOR_FIXED_FLOAT_SWAP
- IBOR_SWAP
- IBOR_SWAPTION
- FinFixedFixedXCCySwap
- IborIborSwap
- fixed_fixed_cross_ccy
- fixed_float_cross_ccy_swap
- float_float_cross_ccy_swap
- Schedule
- Upgraded Amount class for potential future use
- Amount now takes currency
- Added overloaded math functionality
- Date changes
- Removed datelite class
- Moved date_arrays into date class
- Removed singleton class
6 August 2026 RELEASE OF FINANCEPY V1.1.0 List of changes
- This release renames a wide set of the Discount curves
- DiscountCurveFlat -> FlatDiscountCurve
- DiscountCurveNS -> NSDiscountCurve
- DiscountCurveNSS -> NSSDiscountCurve
- DiscountCurvePoly -> PolyDiscountCurve
- DiscountCurvePWFONF -> PWFONFDiscountCurve
- DiscountCurvePWF -> PWFDiscountCurve
- DiscountCurveZeros -> ZeroRatesDiscountCurve
- This release moves some product-based curves from product folders to market->curves
- IborSingleCurve moves
- IborCurveRiskEngine moves
- IborSingleCurveParShocker moves
- IborSingleCurveSmoothingCalibrator moves
- IborDualCurve moves
- OISCurve moves
- CDSCurve moves
- A number of changes in CDS valuation
- Renamed credit01 to spread dv01 like Bloomberg
- Renamed rate01 to ir dv01 like Bloomberg
- Renamed risky_pv01 function name rpv01
- Removed dicts and define pair returns to be (DIRTY, CLEAN)
- Improved accuracy of fast approximator
- Tweaked solver1D to be more gentle on convergence
- Added vectorised American pricers to black_scholes_analytic using numerical approximations
- FXBarrierModel code moved to models folder
- Renamed bond_callable.py to bond_embedded_option.py as this is what it contains
- Removed UNITED_KINGDOM from Calendars as UK is England + Wales + Scotland
- Added LONDON to Calendars for England to replace UNITED_KINGDOM
- Repaired intraday date functionality in Date class
- Updated all notebooks to ensure they work
- Updated regression and unit tests
###############################################################################
15 June 2026
- Added bond boostrap discount curve to do exact fit to bond prices
- Added bond parametric discount curve to do parametric best fit to bond prices
- Added bond parametric yield curve to do parametric best fit to yields
- Removed BondFittedZeroCurve (replaced by BondParametricDiscountCurve)
- Removed BondFittedYieldCurve (replaced by BondParametricYieldCurve)
- Removed BondExactZeroCurve (replaced by BondBootstrapDiscountCurve)
- Widespread switch to use times_from_dates to avoid G_DAYS_IN_YEAR to be completed
- Removed LINEAR_FWD_RATE interpolation as incorrect
- Added LINEAR_DISCOUNT interpolation
- Fixed optimiser use in FXVolSurfaces to handle precision
- Bond curve files all moved under market->curves
26 May 2026
- Cleaning up code in models folder - adding validation of inputs, type checking
- Fixed minor bug in Compound Option on tree
- Fixed bug in LSMC - I now regress on ITM paths only
- Tidied up finite_difference module
19 May 2026
- Further tidying up of Discount Curves folder
- Tidying up of vol curve and surfaces
- Extension of BDT tree to cover same cases as BK and HW trees
- Tidying up model code for Bachelier and Black-Scholes
18 May 2026
- Imposed bounds checks on discount factors
- Fixed FXForward value calculations
17 May 2026
- Correct all notebooks except FXBarrierOption which needs to be fixed
- Added methods for continuously compounded zero rates to discount curve
16 May 2026
- Rewrote Interpolator class to be easier to understand
- Ensured it passes test cases
- Reconfigured unit and golden tests. PLEASE SEE READMEs in each folder for new instructions
13 May 2026
- Mosly work on DiscountCurves and all its variants
- Extended inheritance of DiscountCurves to all curves
- All inheriting classes have a bump_parallel method
- Removed alternative calculations of zero, par, swap and forward rates so all such calls use DiscountCurve methods
- Added discount curve level property to determine day count rule for converting dates to times
- Set default value of time_dc_type to ACT_365F - which means we divide by 365
- Fixed bug in swap_float_leg so we use specified accrual basis and not index curve basis
- Set all references to call directly discountCurve._dfs and ._times to avoid copying using accessor methods
- Did same for credit curves to access ._qs survival probabilities
- Added compounding enum to handle rates and separate it from frequency
28 August 2025
- Completed pep8 cleanup
- Ensured caching on as many numba functions as possible
- Getter and Setter functions for discount curve times and discount factors
1 May 2024 version 0.360 released
- Fixed all notebooks to ensure they all work with current version
- Unit tests complete with success
- Gradually removing underscore prefix from class member variable names
- Adjustments to accrued interest calculations for FRN (need a consistent interface)
19 February 2024 version 0.350 released
- A lot of various pep8 fixes - should all be nearly done soon
- Fixed a bug in gauss_approx_tranche_loss
9 December 2023 version 0.34 released
- A lot of various pep8 fixes - should all be nearly done soon
- Some minor bug fixes
10 November 2023 version 0.33 released
- Tidied up key rate code
- Fixed unit tests for pytest
- Fixed vectorisation of barrier options
- Various pep8 fixes
28 August 2023 - version 0.32 released
- Fixed bug in Bond OAS and ASW
24 August 2023 - Version 0.31 released
-
Schedule
- Corrected bug in schedule generation
- Corrected bug in CDS protection leg integral
-
Many Bond Classes have been amended
- Changed FULL price to DIRTY price in functions UPDATE YOUR CODE PLEASE. APOLS for inconvenience.
- Removed face amount from bond class - how much you buy is not intrinsic to a bond
- Made number of ex-dividend days a member of bond class
- Added adjustment for ex-dividend dates to yield calculations
- Revised accrued and principal functions to take face amount as input
- Updated document
29 May 2023 - Version 0.30 released
- Added PrettyPrint to required dependencies
22 Nov 22 Version 0.260 has been released and pushed to PyPI
- Create Date from python datetime
- Zero coupon bond class
- Fixed bug in bond payment date
31-Aug-2022 Version 0.240 has just been released and pushed to PyPI with changes
- Negative terms in date class
- Recovery rates do not default to standard value for CDS curves