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 |
GitHub stars, last 30 days
Daily snapshots since 2026-09-12 (up to 30 days): +4 over the period, now 2,274. 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
J.P. Morgan's Python training for analysts and traders
Portfolio analytics and performance tear sheets for quants
Chinese open-source quant finance tutorial with AI arXiv radar
Financial function library for quantitative analysis in Python