Downloads
The paper and published metrics are available below. Request a portable copy of the notebook by email:
1. Why a v3.0 rewrite?
WP-4 v3.0 is a focused, single-story rewrite: the whole paper is built around the canonical affine Volterra stack and a closed-form smart-leverage rule for 0DTE options. The goal is reproducibility â a quant should be able to download the bundle above, open the notebook on a stock conda environment, and regenerate every figure and metric in the paper from live yfinance data.
| Layer | Reference |
|---|---|
| Affine Volterra (Quintic OU, rHH, QRH+) | WP-4 §3.5â§3.7 |
| Volterra propagator + BSDE allocator | §3.9â§3.10 |
| Multi-factor Markovian lift | §3.4 |
| 0DTE smart-leverage backtest | §3.12 + Appendix B |
2. Three pillars: Quintic OU, rough Hawkes Heston, QRH+
The paper bundles three models that solve three different empirical pains:
| Model | Solves | Why |
|---|---|---|
| Quintic OU | joint SPX/VIX calibration | $V_t = \xi_0(t)\,p(X_t)^2$ with $X$ OrnsteinâUhlenbeck â closed-form variance swap and VIX$^2$ representations |
| rough Hawkes Heston (rHH) | jump clustering, vol-spike auto-correlation | Hawkes intensity $\lambda_t = \mu_0 + \int \alpha e^{-\beta(t-s)}\,dN_s$, affine VS / VIX$^2$ in the lifted state |
| QRH+ | 0DTE put-wing tail premium | quadratic + Volterra path-dependence with a single boost parameter $b_0 \ge 0$ |
3. Multi-factor Markovian lift of the fractional kernel
The fractional kernel $K(\tau) = \tau^{\alpha-1}/\Gamma(\alpha)$ with $\alpha = H + \tfrac12 \in (0,1)$ is non-Markovian, which kills any naive PDE solver. By BernsteinâWidder it is a Laplace transform of a positive measure $\nu$, and on a geometric grid $x_i = r^{\,i-(n+1)/2}$ we get the finite-dimensional approximation
$$ K_n(\tau) \;=\; \sum_{i=1}^{n} c_i\, e^{-x_i \tau}, \qquad c_i = \int_{x_{i-1/2}}^{x_{i+1/2}} \nu(dx), \qquad \nu(dx) = \frac{x^{-\alpha}}{\Gamma(\alpha)\Gamma(1-\alpha)}\,dx. $$
This converts every Volterra SDE in the paper into a Markov system in $\mathbf U_t = (U^{(1)}_t,\dots,U^{(n)}_t)$. Block B of the notebook implements this and reports a relative $L^2$ error of $1.15\times10^{-2}$ for $n=15$ on the working horizon $\tau \in [5\!\cdot\!10^{-3},\,0.5]$.
4. Volterra propagator + BSDE Sharpe-optimal allocator
For execution we use the classical propagator price model
$$ \widehat P_t = P_t + \int_0^t G(t,s)\,dq_s, \qquad G(t,s) = (t-s)^{-\beta} e^{-\rho(t-s)}, $$
and the BSDE Sharpe-optimal allocator of BouchardâĂlieâTouzi (2009)
$$ w^{*}_t \;=\; \Lambda^{-1}\, Z_t, \qquad \Lambda = \int_0^T G(t,s)\,ds, \qquad Z_t = \mu/\sigma^{2}. $$
Block F simulates a half-and-half block trade and recovers the qualitative transient-impact decay predicted by AlfonsiâSchiedâSlynko (2012).
5. The 0DTE smart-leverage rule
The closed-form output of WP-4 Lab 1 is the leverage rule
$$ L^{*}(t) = L_{\max} \cdot \bigl(1 - \kappa_b\, \widehat b_0(t)\bigr) \cdot \bigl(2 - \mathrm{SSR}(t)\bigr)^+ $$
where $\widehat b_0(t)$ is the QRH+ boost (block E), $\mathrm{SSR}(t)$ is the skew-stickiness ratio, $L_{\max}$ caps gross exposure and $\kappa_b$ tunes the put-wing throttle. The notebook implements the practical vol-target projection of this rule that matches it to first order:
$$ L^{*}(t) = \mathrm{clip}\!\left(\frac{\sigma_{\text{target}}}{\sigma_{\text{realised}}(t)} \cdot \bigl(1 - \kappa_b\,\widehat b_0(t)\bigr),\; 0,\; L_{\max}\right). $$
With $\sigma_{\text{target}} = 0.20$, $L_{\max} = 2.0$, $\kappa_b = 0.10$, this is the rule we backtest below.
6. Companion notebook layout
Each of the seven blocks of Lab 1 follows a strict MD explanation + equations → CODE → MD result/commentary pattern, so any reader can map a notebook cell to the corresponding paper section without ambiguity:
| Block | Notebook cells | Paper section |
|---|---|---|
| A â Real data fetch (SPY/QQQ + 0DTE chain + VIX) | 4â6 | §3.1 |
| B â Multi-factor Markovian lift $K_n$ | 7â9 | §3.4 |
| C â Quintic OU + Fourier vanilla | 10â12 | §3.5 |
| D â rHH variance-swap term structure | 13â15 | §3.6 |
| E â QRH+ 0DTE smile fit | 16â18 | §3.7 |
| F â Volterra propagator + BSDE allocator | 19â21 | §3.9, §3.10 |
| G â 0DTE smart-leverage backtest | 22â24 | §3.12 |
Run the lab on the rhftlab kernel:
conda run -n rhftlab jupyter nbconvert --to notebook --execute \
webapp/papers/latex/wp4_options_portfolio_lab.ipynb \
--output wp4_options_portfolio_lab.ipynb \
--ExecutePreprocessor.timeout=300
and the JSON metrics file used in §7 is regenerated automatically.
7. Empirical results â live SPY backtest
The 0DTE smart-leverage rule of §5 was backtested out-of-sample on a one-year SPY window pulled from yfinance, with the rule applied to the next-day return (no look-ahead). Calibration snapshot:
data window
at calibration
n = 15, r = 3
Î
Out-of-sample performance:
| Strategy | Sharpe | Cumulative PnL | Max Drawdown |
|---|---|---|---|
| WP-4 Lab 1 (Affine Volterra leverage) | 1.73 | +37.2% | â14.7% |
| Buy-and-hold SPY | 2.06 | +27.9% | â9.0% |
The affine Volterra stack is not a magic alpha factory, it is a principled, regime-aware, tuneable exposure modulator. The same calibration that produced these numbers can be reused with $L_{\max}, \kappa_b, \sigma_{\text{target}}$ chosen by the desk's risk budget â see Lab 4 of the paper (§4.4) for the full parameter map.
Improvements vs the legacy WP-4 Lab 1
- Reproducibility. All seven blocks run on the public
OptionsDataFetcherand three open-source models. Anyone can re-execute the notebook and regenerate the metrics JSON. - Transparent paper-to-cell mapping. Each code cell is preceded by a markdown cell that names the paper equation it implements and followed by a markdown cell that comments the numerical output.
- Industry-standard models. The lab references the canonical affine Volterra literature (Abi JaberâIllandâLi, BondiâPulidoâScotti, RosenbaumâZhang, El EuchâRosenbaum) instead of in-house names with no public bibliography.
- Live calibration & PnL. The fetched SPY/0DTE data feeds a real backtest with measured Sharpe / PnL / drawdown â not just toy plots.
8. References
- Abi Jaber, E., Illand, C. & Li, S. (2022). Joint SPX-VIX calibration with Gaussian polynomial volatility models. arXiv:2212.08297.
- Alfonsi, A., Schied, A. & Slynko, A. (2012). Order book resilience, price manipulation, and the positive portfolio problem. SIAM J. Financial Math.
- Bondi, A., Pulido, S. & Scotti, S. (2022). The rough Hawkes Heston stochastic volatility model. arXiv:2210.12393.
- Bouchard, B., Ălie, R. & Touzi, N. (2009). Discrete-time approximation of BSDEs and probabilistic schemes for fully nonlinear PDEs.
- El Euch, O. & Rosenbaum, M. (2019). The characteristic function of rough Heston models. Mathematical Finance.
- Gatheral, J., Jaisson, T. & Rosenbaum, M. (2018). Volatility is rough. Quantitative Finance.
- Rosenbaum, M. & Zhang, J. (2024). Quadratic rough Heston model with jumps for very short-dated options. Working paper.
- HFThot Research Lab (2026). WP-4 v3.0 â Options Portfolio Labs.
Download WP-4 v3.0 PDF Request the portable notebook Take the rough-vol arbitrage course