Skip to main content

VIXRHeston

VIXRHeston is a lightweight Python package for computing the VIX term structure in the rough Heston model via a Markovian (lifted Heston) approximation. Using the paper’s key result that, under the lifted model, squared VIX (VIX²) admits an analytical expression (linear in the Markovian variance components), the package evaluates

VIX^2(t, τ) = (1/τ) * integral from t to t+τ of E_t[V_s] ds

efficiently across maturities, avoiding nested Monte Carlo simulation. This enables fast generation of the full VIX term structure and supports calibration workflows requiring repeated VIX evaluations.

Installation

From PyPI

pip install VIXRHeston

Quick start

import numpy as np
from VIXRHeston import vec_c, vec_x
from VIXRHeston import squared_VIX

H,n = 0.1,2
alpha, rn= H+0.5, 1+10*(1/(n)**0.9)
c, x = vec_c(n,rn,alpha), vec_x(n,rn,alpha)
t, tau = 0, 1/12
rho, lamb,theta,nu,V0 = -0.7,0.1,0.03,0.3, 0.01
VIX2 = squared_VIX(t, c, x, V0,lamb,theta,nu,rho, tau)
VIX  = np.sqrt(VIX2)
print(VIX)

License

MIT License. See LICENSE.

References

Ye, Y., Fan, Z., & Kwok, Y. K. (2026). VIX term structure in the rough Heston model via Markovian approximation. Journal of Futures Markets, forthcoming.

Metadata

Release files for VIXRHeston 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for VIXRHeston 0.1.2
File Size Uploaded Provenance Actions
vixrheston-0.1.2.tar.gz 4.8 kB Without provenance Details for vixrheston-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for VIXRHeston 0.1.2
File Interpreter ABI Platform Actions
vixrheston-0.1.2-py3-none-any.whl Python 3 none any Details for vixrheston-0.1.2-py3-none-any.whl

Total release size: 10.0 kB

Release files / vixrheston-0.1.2.tar.gz

Download URL vixrheston-0.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2dbc102dc47d54dcd4b97f7b8d5a2ce75decd856f70107577b3cf8b4b145674d
BLAKE2b-256 checksum
How to use checksums
40bea08c2f3a890efaf8502aee4dbb73e3c0d18bf16fade381ced803b64066f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / vixrheston-0.1.2-py3-none-any.whl

Download URL vixrheston-0.1.2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b2cbc10778b027ee26b6f03d5990c99755b24bde27f5724556147591f4dbb4a
BLAKE2b-256 checksum
How to use checksums
893f95fa9ae1cf0e32bd605f60158dccf433f01565cf694b6aab98dcd4c9bff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for VIXRHeston 0.1.2

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.

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