Home / Other tools
py4fi2nd
Jupyter notebooks and code for Python for Finance
What it is
A companion repository for the second edition of Python for Finance (O'Reilly) by Yves Hilpisch, containing all Python code and Jupyter notebooks from the book. The notebooks cover data-driven finance topics as presented in the book, with a conda environment file for installing the required packages. They suit readers working through the book as well as developers studying the accompanying techniques. The code was written for Python 3.7 but tested on Python 3.6, so package versions may need adjusting, and the material is book companion code rather than a standalone product.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Beginners |
|---|---|
| Used for | Strategy research, Data analysis |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | No commits in over six months |
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 +11 , latest 2,291. Gaps mean no snapshot was taken that day.
Jupyter Notebooks and code for Python for Finance (2nd ed., O'Reilly) by Yves Hilpisch.
Similar tools
Portfolio analytics and performance tear sheets for quants
J.P. Morgan's Python training for analysts and traders
Chinese open-source quant finance tutorial with AI arXiv radar
Recipe code for the Python for Finance Cookbook from Packt
Financial function library for quantitative analysis in Python
Three-way sentiment labels for Japanese financial text