Datasets:
observation listlengths 253 253 | latent_state listlengths 253 253 | seed int64 42 42 | prng_key_info stringclasses 1
value | model_name stringclasses 1
value | model_version stringclasses 1
value | parameters stringclasses 1
value | time_grid stringclasses 1
value | n_paths int64 10k 10k | library_version stringclasses 1
value | dataset_version stringclasses 1
value | generated_at stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
100.00000000000004,
100.55585239603779,
100.84544800552462,
103.25995968379974,
102.75442255649038,
103.44105576106331,
103.80971695972232,
103.17395998651682,
102.90917114184381,
101.40837161174346,
97.28391471464339,
91.82646305582003,
95.54825643196997,
96.93920576507978,
102.46321781... | [
0.04,
0.022797504046968516,
0.018100514644878784,
0.0032702029310771154,
0.008806464874978607,
0.003503043349756515,
0.005134728469630364,
0.011716205920286667,
0.02120645595257503,
0.06718933615501893,
1.0650928398815955,
1.1467360488698566,
0.2711553408058015,
0.30536257761783764,
0.15... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
100.65008831363464,
101.9817373771838,
102.08831477555793,
101.72334950174981,
102.66237442205588,
103.6808589996611,
104.34491884289616,
105.2163148151288,
105.24574833347175,
105.74257020415524,
105.82595215756913,
106.36135838498055,
106.20572364515647,
106.1489770... | [
0.04,
0.040339900828387655,
0.006224340066977092,
0.01692508798476497,
0.0334888556682512,
0.06025452685934091,
0.005747672174635225,
0.003352807982463574,
0.0013314485997353949,
0.002869452785731488,
0.0018561410094351256,
0.002622814420189735,
0.000499929935488233,
0.0006944356741323926,... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
100.70439769022734,
102.87674495947003,
102.99559282768749,
101.86575334073319,
100.99032865204484,
104.51096958659211,
104.40691454571551,
104.01578660915936,
104.39243345048438,
104.8107964397777,
104.69966256566454,
105.02999296607041,
105.03422201488596,
104.84200... | [
0.04,
0.04066436934296234,
0.008861848038718496,
0.0112442923595726,
0.024361468438183344,
0.06561256554714542,
0.013427306584009376,
0.006337116432436327,
0.0075332044614814,
0.002470622450508635,
0.0016695639020247444,
0.0021165840825477654,
0.00243696548263649,
0.00341305767520143,
0.... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
101.3626488981455,
99.01472830086404,
95.97927019733105,
98.06639304951582,
95.66144468542893,
94.50940251472377,
95.60230128227346,
94.34464020940493,
97.20870255816962,
98.63193121847245,
99.14254850224191,
101.06402637396324,
102.00107534593809,
101.97045044409569,... | [
0.04,
0.015829472157948273,
0.05312505662176172,
0.32904772545303457,
0.19975587916707008,
0.11663881568868714,
0.19242780373092142,
0.062444462787232605,
0.06999412604006777,
0.05708247724838895,
0.09022579553398809,
0.05005295505977274,
0.027871799795924523,
0.023708662070588672,
0.039... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
100.06064242211495,
100.20564230411522,
100.37064595784474,
99.70390981468874,
100.10889713571268,
96.60449028910406,
97.6360541612031,
98.94145849743464,
98.27003133389069,
97.73105795947727,
99.86698273371583,
97.16522733145234,
97.55708990037454,
96.79556343977954,... | [
0.04,
0.020336412899522573,
0.04229958440050348,
0.07344970290018026,
0.052570257484609896,
0.10687129348167591,
0.1679844723124859,
0.03517059409131382,
0.042502607771007325,
0.05162379146789894,
0.05876195716576218,
0.03943171636921585,
0.12959901857386055,
0.04541423856275106,
0.08409... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
100.97728587999488,
101.04718114976019,
101.32551178189185,
102.28146619660109,
103.21113358123408,
103.68562817259154,
104.04570491049311,
103.12402654645086,
101.8957664813034,
102.96460311366965,
102.79539119213602,
103.30213846347212,
102.641944993154,
100.7585635... | [
0.04,
0.016268684256799077,
0.013698738624926453,
0.017852747223322356,
0.018636890063529366,
0.006039526458931629,
0.003703387662212731,
0.0032932137158608534,
0.0979453309808953,
0.1403251780809639,
0.0989679567275095,
0.12409401871279731,
0.046728371061942636,
0.05104135991883581,
0.0... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
99.21109846242123,
98.50829731443005,
100.62525872925875,
100.37024977880395,
99.6347578299933,
102.22471743347789,
102.16601296607882,
102.81330383199814,
102.3224827997256,
102.36853366281429,
103.25396116085305,
103.27854370778574,
103.25468851655286,
103.403982720... | [
0.04,
0.04808884640281035,
0.03240188357202605,
0.003606794358209225,
0.012251106538133784,
0.03836227720083211,
0.004653278690488386,
0.01630804692020674,
0.007354553271181302,
0.004357172420749607,
0.004124962124362289,
0.0006648673586268106,
0.00027568823853678885,
0.000643265316380453,... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
100.38693626251808,
100.6587780560428,
103.74288536575554,
103.45236165167019,
103.56514387597257,
103.87942544296483,
104.11368545932987,
103.56931031572952,
103.67242243270557,
103.435640062225,
103.25032386047661,
103.26837833478051,
102.76052534946218,
102.3737077... | [
0.04,
0.021794841688456322,
0.03923315157439882,
0.00882146315554274,
0.013574050688735751,
0.01965235134348422,
0.010314558517250985,
0.006964376396321155,
0.007638379746446551,
0.006257697375687254,
0.009388351008989892,
0.004036654262775089,
0.00808942766845117,
0.011199152922324682,
... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
100.57205511523605,
101.79639502672711,
101.09406019598359,
99.8103736810317,
99.7975373909722,
97.94973852773978,
98.69382911567317,
99.97557856483233,
99.55100507730504,
98.96995617145156,
98.10330265264236,
99.25446932248377,
100.13325599984195,
99.76743767832798,
... | [
0.04,
0.02414551184584961,
0.017404271564122994,
0.013280605074645463,
0.04792628188025912,
0.042114199065496474,
0.0751894042754258,
0.017458817554214957,
0.021117225320972727,
0.032629485445504834,
0.0503541043287105,
0.03314508701375005,
0.020129803085724724,
0.008320044934191754,
0.0... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
99.2491538433541,
100.21676428012009,
99.64367765066724,
99.25714404084734,
97.46365240599182,
96.6733238816228,
96.53524357180743,
93.91423240073442,
93.35782726137845,
92.41935074125514,
92.8337801233545,
92.09171251968864,
92.86820641694811,
93.70943586768621,
93... | [
0.04,
0.048156957845281206,
0.046475258166200115,
0.05775229648251265,
0.15756711931756368,
0.09841425141630948,
0.032685323657571805,
0.04997356049289631,
0.1710487396651251,
0.16687277685431906,
0.1555271294150715,
0.05061568733680822,
0.10337209448693013,
0.1295975707945984,
0.0371601... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
100.92334929333839,
100.7002978823511,
99.33257617336326,
99.91564700047259,
98.42298633067008,
98.54349996217354,
99.14610363773102,
98.44812534559067,
98.81904801837717,
99.41727835265331,
98.52975476829879,
97.51259170434982,
96.41531506714578,
94.09748951012996,
... | [
0.04,
0.03786637702329578,
0.072756172085593,
0.04855558166489538,
0.03556146493453063,
0.03771545892750011,
0.022066761289849128,
0.02605803554461935,
0.03842245674240829,
0.0162820135569735,
0.015377408981555943,
0.03998575329809592,
0.05805014773598072,
0.058711058910055576,
0.1286890... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
[
100.00000000000004,
101.02271750002679,
99.88921929063795,
100.2536259610876,
98.41506494196338,
97.40352649222939,
98.35066685736533,
98.32094599498078,
98.0713065987609,
98.84771784252581,
99.03408670171078,
99.71606573186381,
100.14661217491164,
101.06709098377569,
101.50335233530282,... | [
0.04,
0.016609251397188718,
0.0307247221629536,
0.019261269401190783,
0.06566074734105101,
0.04257288853113793,
0.019938161440246287,
0.01618996307967002,
0.010346622530856666,
0.011951877712129402,
0.022786231158004985,
0.008727752692271004,
0.022370307218813067,
0.020203337300019983,
0... | 42 | jax.random.PRNGKey(42) | RoughBergomi | 0.1.0 | {"H": 0.1, "eta": 1.5, "rho": -0.7, "xi0": 0.04, "S0": 100.0, "mu": 0.0} | [0.0, 0.003968253968253968, 0.007936507936507936, 0.011904761904761904, 0.015873015873015872, 0.01984126984126984, 0.023809523809523808, 0.027777777777777776, 0.031746031746031744, 0.03571428571428571, 0.03968253968253968, 0.04365079365079365, 0.047619047619047616, 0.051587301587301584, 0.05555555555555555, 0.059523809... | 10,000 | 1.0.0 | 1.0.0 | 2026-07-01T06:53:10.379309+00:00 |
QuantScenarioBench — Rough Bergomi Benchmark Dataset
This dataset is a representative benchmark sample generated by QuantScenarioBench, a JAX-native framework for reproducible stochastic market scenario generation.
It contains 10,000 independent simulation paths under the Rough Bergomi model over 252 daily time steps (1 year horizon). Each path includes both the asset price trajectory (observation) and the instantaneous variance trajectory (latent state).
Need a larger or custom dataset? This file is a fixed benchmark sample. To generate datasets at any scale — more paths, different parameters, non-uniform time grids, or other market models — use the QuantScenarioBench library directly:
pip install quantscenariobenchSee the GitHub project for full documentation and examples.
Model Description
The Rough Bergomi model (Bayer, Friz & Gatheral, 2016) is a non-Markovian stochastic volatility model that drives the variance process with a fractional Brownian motion (fBM) with Hurst exponent $H < \frac{1}{2}$. The roughness of the variance path ($H \approx 0.1$ empirically) captures the steep short-maturity implied-vol skew observed in equity markets and addresses a well-known shortcoming of Markovian models such as Heston.
The variance and asset price evolve as:
where $W^H_t$ is a Riemann–Liouville fractional Brownian motion, discretised via the Volterra representation:
Because the variance is non-Markovian (each step depends on the full history of BM increments), the simulation pre-computes the full Volterra kernel matrix and applies it to each path via a single matrix–vector product.
Key properties:
- Rough volatility — variance paths with $H = 0.1$ are much rougher than Brownian motion ($H = 0.5$)
- Empirically calibrated — $H \approx 0.1$ is the canonical estimate from historical implied-vol data (Gatheral et al., 2018)
- Non-Markovian — past BM increments influence future variance; this is why diffrax is bypassed for variance simulation
- Leverage effect — negative $\rho$ links downward price moves to rising variance
Parameters used for this dataset
| Parameter | Value | Description |
|---|---|---|
S0 |
100.0 | Initial asset price |
mu |
0.0 | Drift (risk-neutral; $r = 0$) |
H |
0.1 | Hurst exponent (rough volatility regime) |
eta |
1.5 | Vol-of-vol amplitude |
rho |
−0.7 | Correlation between asset BM and fBM driver |
xi0 |
0.04 | Initial variance ($= 20%$ vol) |
The risk-neutral setting (mu=0) and identical initial vol (xi0=0.04) to the other benchmark datasets make ATM option prices directly comparable across models.
Simulation Configuration
| Field | Value |
|---|---|
| Time grid | linspace(0.0, 1.0, 253) — 252 daily steps over 1 year |
| Number of paths | 10,000 |
| PRNG seed | 42 |
| Backend | JAX CPU (float64) |
| Library version | 1.0.0 |
| Dataset version | 1.0.0 |
Column Schema
All QuantScenarioBench datasets share the same 12-column schema regardless of the market model used. This enables direct cross-model comparison by loading datasets with identical code.
| Column | Type | Description |
|---|---|---|
observation |
list<float64> |
Asset price path $S_{t_0}, \ldots, S_{t_T}$; one row per path |
latent_state |
list<float64> |
Instantaneous variance path $V_{t_0}, \ldots, V_{t_T}$; same length as observation |
seed |
int64 |
Integer PRNG seed used to reproduce this batch |
prng_key_info |
string |
JAX PRNGKey derivation description |
model_name |
string |
RoughBergomi |
model_version |
string |
Model specification version |
parameters |
string |
JSON-encoded model parameters |
time_grid |
string |
JSON-encoded array of 253 time points |
n_paths |
int64 |
10000 |
library_version |
string |
quantscenariobench library version |
dataset_version |
string |
Dataset version identifier (independent of library version) |
generated_at |
string |
UTC ISO-8601 generation timestamp |
Usage
from datasets import load_dataset
import numpy as np
ds = load_dataset("QuantScenarioBench/qsb-rough-bergomi", split="train")
# Each row is one simulated path
row = ds[0]
prices = np.array(row["observation"]) # shape (253,) — asset price
variances = np.array(row["latent_state"]) # shape (253,) — instantaneous variance
vols = np.sqrt(variances) # instantaneous vol
print(f"S0={prices[0]:.2f} S_T={prices[-1]:.2f} avg_vol={vols.mean():.3f}")
# Stack all paths
all_prices = np.stack([ds[i]["observation"] for i in range(len(ds))])
all_vars = np.stack([ds[i]["latent_state"] for i in range(len(ds))])
print(all_prices.shape) # (10000, 253)
print(all_vars.shape) # (10000, 253)
Cross-model comparison
All three benchmark datasets share the same schema and time grid:
bs = load_dataset("QuantScenarioBench/qsb-black-scholes", split="train")
h = load_dataset("QuantScenarioBench/qsb-heston", split="train")
rb = load_dataset("QuantScenarioBench/qsb-rough-bergomi", split="train")
import numpy as np
for name, ds in [("BS", bs), ("Heston", h), ("rBergomi", rb)]:
terminals = np.array([ds[i]["observation"][-1] for i in range(len(ds))])
print(f"{name:10s} mean={terminals.mean():.2f} std={terminals.std():.2f}")
Generate a custom dataset
from quantscenariobench.api import simulate
from quantscenariobench.export import export_parquet, publish_to_hub
from quantscenariobench.interface import TimeGrid
from quantscenariobench.models import RoughBergomi
import jax.numpy as jnp
model = RoughBergomi(H=0.05, eta=2.0, rho=-0.8, xi0=0.04, S0=100.0, mu=0.0)
tg = TimeGrid(jnp.linspace(0.0, 2.0, 505)) # 2-year horizon
scenario = simulate(model, tg, n_paths=100_000, seed=99)
export_parquet([scenario], "my_rb_dataset.parquet")
# or: publish_to_hub([scenario], "my-org/my-rb-dataset")
Reproducibility
Simulation paths are bit-identical across runs on the same computational backend when using the same seed, library_version, and model parameters.
Cross-backend bit-identity is not guaranteed. JAX floating-point operations may produce different bit patterns across hardware backends (CPU, GPU, TPU) even with identical inputs. The seed, prng_key_info, and library_version columns document full provenance so that any differences can be traced to backend changes rather than parameter or code drift.
Related Datasets
| Model | Dataset |
|---|---|
| Black-Scholes | QuantScenarioBench/qsb-black-scholes |
| Heston | QuantScenarioBench/qsb-heston |
| Rough Bergomi (this dataset) | QuantScenarioBench/qsb-rough-bergomi |
All three datasets use the same time grid, seed, and initial spot for direct cross-model comparison.
Citation
If you use this dataset or QuantScenarioBench in your research, please cite the GitHub repository.
- Downloads last month
- 29