Skip to content

Companion code repository for the Derivatives Analytics with Python class in the CPF Program (https://python-for-finance.com).

Notifications You must be signed in to change notification settings

yhilpisch/dawpcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Derivatives Analytics with Python — Code & Notebooks

The Python Quants

This repository contains the Jupyter notebooks and Python scripts that accompany the Derivatives Analytics with Python book and class in the CPF Program. The material is organised to mirror the book structure:

  • Part I — The Market
  • Part II — Arbitrage Pricing
  • Part III — Market-Based Valuation

The notebooks reproduce the main valuation, calibration, and hedging examples used in class, while the scripts provide focused, reusable implementations for figures and numerical experiments.

Book

The material follows the structure of the book Derivatives Analytics with Python by Dr. Yves J. Hilpisch.

Derivatives Analytics with Python cover

Structure

  • notebooks/ — chapter notebooks (dawp_chapter_*.ipynb) that combine text, formulas, and code.
  • code/ — standalone Python modules and helper scripts used for figures, valuation routines, and calibration.

See the README.md files inside notebooks/ and code/ for concise per-file overviews.

Usage

The notebooks are designed to run in a standard Scientific Python environment (or in Google Colab) with the usual stack:

  • Python 3.11+
  • numpy, pandas, matplotlib
  • scipy, numba (where used)
  • h5py for reading HDF5 option data

The scripts under code/ are written so that you can either run them as standalone programs (for example to regenerate figures) or import their functions into your own projects.

Disclaimer

This repository and its contents are provided for educational and illustrative purposes only and come without any warranty or guarantees of any kind — express or implied. Use at your own risk. The authors and The Python Quants GmbH are not responsible for any direct or indirect damages, losses, or issues arising from the use of this code. Do not use the provided examples for critical decision‑making, financial transactions, medical advice, or production deployments without rigorous review, testing, and validation.

Some examples may reference third‑party libraries, datasets, services, or APIs subject to their own licenses and terms; you are responsible for ensuring compliance.

Contact

About

Companion code repository for the Derivatives Analytics with Python class in the CPF Program (https://python-for-finance.com).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published