Home / Risk & portfolio
FinancePy
Python library for pricing and risk-managing financial derivatives
What it is
A Python finance library focused on the pricing and risk management of financial derivatives, covering fixed income, equity, FX and credit products. It provides market objects for interest rate and volatility term structures, mathematical pricing models, and product modules organised by asset class, plus utilities for dates, day counts and schedule generation. Quantitative finance practitioners with Python skills can get started quickly through ready-to-run scripts, interactive Jupyter notebooks and API documentation. The library is distributed free and without any warranty, so users rely on community contributions and issue reports rather than commercial support.
At a glance
Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Professional quants |
|---|---|
| Used for | Data analysis, Strategy research |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Moderate learning curve |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Commits today |
Popularity snapshots
Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +36 , latest 3,246. Gaps mean no snapshot was taken that day.
A Python Finance Library that focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives.
Similar tools
Jupyter notebooks companion to Machine Learning for Trading
Goldman Sachs Python toolkit for derivatives and risk
scikit-learn compatible Python library for portfolio optimization
CVXPY-based portfolio optimization and strategic asset allocation
Portfolio and risk analytics, a maintained fork of pyfolio
Performance analytics, backtesting and factsheet reporting in Python