Skip to main content

VIX term structure in the rough Heston model via Markovian approximation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vixrheston-0.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vixrheston-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file vixrheston-0.1.2.tar.gz.

File metadata

  • Download URL: vixrheston-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for vixrheston-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2dbc102dc47d54dcd4b97f7b8d5a2ce75decd856f70107577b3cf8b4b145674d
MD5 ccb0ac2a6b56411f7b201aedbee082a4
BLAKE2b-256 40bea08c2f3a890efaf8502aee4dbb73e3c0d18bf16fade381ced803b64066f5

See more details on using hashes here.

File details

Details for the file vixrheston-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: vixrheston-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for vixrheston-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b2cbc10778b027ee26b6f03d5990c99755b24bde27f5724556147591f4dbb4a
MD5 0c68677dfc5571fbf11bf0d8b1efc26c
BLAKE2b-256 893f95fa9ae1cf0e32bd605f60158dccf433f01565cf694b6aab98dcd4c9bff7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page