spxa
Stochastic processes as first-class algebraic objects.
from spxa.zoo.levy import VarianceGamma, GammaProcess
X = VarianceGamma(sigma=0.2, nu=0.1, theta=-0.1)
Y = GammaProcess(a=1.0, b=2.0)
Z = X + 0.5 * Y
Z.triplet # exact Lévy–Khintchine triplet
Z.cumulants(4) # exact symbolic cumulants
Z.__story__() # derivation trace
Where to start
- Theory: Lévy–Khintchine — the bijection that makes arithmetic exact
- Theory: Triplet arithmetic — the rules behind every operator
- Theory: Beyond Lévy — fBM, Hawkes, OU-Lévy and the degradation policy
- Theory: Model Morphing — exact interpolation between processes along triplet, generator, Fisher–Rao and Wasserstein paths
- Theory: Information geometry — Fisher metric, α-connections, curvature, Rao distance and natural gradient
- Theory: Rough paths & signatures — tensor algebra, log-signatures, the signature kernel and expected signatures
- Theory: Rough volatility — Volterra fBM, rough Bergomi and the fractional Riccati equation of rough Heston
- Theory: Copulas — Sklar, dependence measures, copula families, estimation and coupled simulation
- Theory: Stochastic control — HJB, LQG, Merton, Almgren–Chriss, Avellaneda–Stoikov and finite-difference HJB
- Theory: Estimation & calibration — exact MLE, GMM/ECF, filtering, surface calibration and inference
- Process registry — all implemented processes with exactness levels and references
- Contributing — how to add processes, operations, and core changes