Companion package for 'Learning Quantitative Finance with Python' (CRC Press): real historical episodes (qfwp.data) and the Trone synthetic market (qfwp.synth).
Project description
qfwp — companion package
Companion code for Learning Quantitative Finance with Python (CRC Press).
uv sync # creates .venv from pyproject.toml + uv.lock
from qfwp import synth
mkt = synth.make_market(level=1, pathologies={"missing_days": 0.02})
mkt.prices.plot()
Two subpackages:
qfwp.data— the real historical episodes (1994 Real Plan, 1999 devaluation, 2008 GFC, 2011 EUR/SNB, 2014 elections). Loader API stable; data files land chapter by chapter.qfwp.synth— the Trone synthetic market with a four-level complexity dial matching the book's four parts. Level 1 implemented; full dial design inSYNTH-DESIGN.md.
Everything seeded, everything pinned (uv.lock), so the book's figures reproduce exactly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qfwp-0.4.1.tar.gz.
File metadata
- Download URL: qfwp-0.4.1.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e54fc7fde13c20e0eac56565149ec44e5446f7fc8c41711201b8e933b5ecafc2
|
|
| MD5 |
d8c5e4faece6aa073ee6326a824a4136
|
|
| BLAKE2b-256 |
749614a651b49c199eb356d85387c22d10b23a1ff825114ba18fb1b6fa0ac3b2
|
File details
Details for the file qfwp-0.4.1-py3-none-any.whl.
File metadata
- Download URL: qfwp-0.4.1-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a92fdfd8cd646388bb2eb4c03bfc2788c1f733e92dd6630bf6275cc9e9f0f88a
|
|
| MD5 |
3bce093402131a01f1a42f90609457bf
|
|
| BLAKE2b-256 |
b4a68580973717f426e653a66c85b03a5c6cba3f5b4c3edce3db281db8b32653
|