Skip to main content

PyPI version Python versions Python downloads build codecov

Quantitative analysis and pricing tools.

btcvol

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.

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)

Source distribution for quantflow 1.2.0
File Size Uploaded
quantflow-1.2.0.tar.gz 3.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for quantflow 1.2.0
File Interpreter ABI Platform
quantflow-1.2.0-py3-none-any.whl Python 3 none any Details

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}

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page