Quantitative analysis and pricing tools.
Installation
pip install quantflow
Optional dependencies
data— data retrieval:pip install quantflow[data]ml— training the Deep Implied Volatility model:pip install quantflow[ml]
Features
-
Stochastic Processes: a library of continuous-time models including Wiener processes, Poisson jumps, CIR mean-reverting dynamics, Heston stochastic volatility, jump-diffusion models, and the Barndorff-Nielsen & Shephard (BNS) model. Each process exposes its characteristic function for analytical pricing.
-
Option Pricing and Calibration: Black-Scholes pricing, implied volatility surfaces, SVI parameterisation, put/call parity, and model calibration (Heston, Double Heston). Includes support for both inverse (crypto) and standard (equity) quoting conventions.
-
Interest Rates: yield curve construction via Nelson-Siegel and Vasicek models, discount factor calculation, and rate interpolation.
-
Market Data: connectors for Deribit, Yahoo Finance, Financial Modeling Prep (FMP), FRED, the Federal Reserve, and US Fiscal Data APIs.
-
Time Series Analysis: exponentially weighted moving averages (EWMA), Kalman filtering, super-smoothers, and OHLC bar utilities.
-
JSON Serializable: all models and pricers are built on Pydantic, making them fully serializable to and from JSON.
Contributing
Contributions are welcome! See the contributing guide for how to get started, including documentation contributions, which are a great entry point.
Citation
If you use Quantflow in your research, please cite it using the metadata in CITATION.cff.
License
Released under the BSD 3-Clause License.
Metadata
Release files for quantflow 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quantflow-1.2.0.tar.gz | 3.2 MB | Without provenance | Details for quantflow-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quantflow-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for quantflow-1.2.0-py3-none-any.whl |
Total release size: 3.3 MB
Release files / quantflow-1.2.0.tar.gz
| Download URL | quantflow-1.2.0.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e93e68c34c34f2adfec38f5314c7dd331c226dd1513a495c226ff5827988add0
|
|
BLAKE2b-256 checksum How to use checksums |
4542d8dfba14ef9ea27822c79663b75941e78d41c15a89b4d35a396c3310bf6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}
|
Release files / quantflow-1.2.0-py3-none-any.whl
| Download URL | quantflow-1.2.0-py3-none-any.whl |
|---|---|
| Size | 163.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b37070cc969bb836bde5789f0c8fa5c94dc2c91a2cfa0ce1e329aa430530b22
|
|
BLAKE2b-256 checksum How to use checksums |
477382a65f386b917c598bfa4a74d2520d2c967f5b6d6c65822b10ca26d48099
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}
|
Security for quantflow 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.