FinancePy: Options, bonds, and more with C-like speed via Numba
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Quants and fintech developers can now price options, bonds, CDS and more in pure Python at C-level speed, replacing fragmented or proprietary tooling with one free library.
FinancePy is a free, open-source Python library for pricing and risk-managing financial instruments like bonds, options and credit default swaps. It uses Numba, a tool that compiles Python code into machine code, to run calculations as fast as C or C++ programs. Users work with product objects that handle the math internally, and over 90 example notebooks are included. The only quirk is a few seconds' delay on first import while Numba compiles and caches the code.
FinancePy gives financial firms a free alternative to proprietary quantitative finance tools, consolidating pricing for options, futures, bonds, CDS and FX products into one Python library. Performance comes from Numba just-in-time compilation, claimed to match C or C++, which matters when running thousands of simulations. The main costs are a one-time multi-second first import and needing staff comfortable with Python; contributors must follow Pep8 style.
FinancePy splits into four modules: market (curves, volatility surfaces), models (Black-Scholes, Vasicek), products (bonds, CDS, options) and utils (dates, calendars, day counts). Product objects like equity_american_option invoke the models internally. Numba JIT compiles the math on first import, taking a few seconds, then caches it for near-instant later loads. The README claims C/C++-comparable speeds; no independent benchmarks are given.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
A self-hosted file manager fork with OIDC, LDAP, and real-time search
FileBrowser Quantum lets teams manage multiple storage sources with enterprise authentication and real-time search without complex setup, saving admin time and reducing security risk.
A Go implementation of MCP for connecting LLM apps to tools and data
Go developers can expose LLM tools without writing MCP plumbing, saving time on integration.
An open-source Canva alternative you can self-host, with video export
Self-hosted design tools let teams avoid subscription fees and keep data on their own servers, while adding video export unlocks new content formats for social media creators.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.