Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceProbability & MeasureStochastic ModelsMarket MicrostructureGuide
Stochastic Models
Random Walk
Random Walk labSymmetric Random WalkRescaled Random WalkStandard deviationCentral Limit Theorem
Brownian Motion
Brownian labDefining the Wiener processIncrement explorerJoint distributions and covarianceBrownian transformations and invarianceQuadratic variationBrownian bridgeRunning maximum and minimumReflection principleFirst passage timesHitting probabilities
Geometric Brownian Motion
LabDefinition: ABM vs GBMEuler–MaruyamaMean reversionJumpsCorrelated motions
Itô Process
LabItô integralItô's lemmaMartingalesGirsanov
Monte Carlo
LabVariance reductionFeynman–Kac
Connected Guides
  • Geometric Brownian motion
  • Returns and volatility
  • Change of measure and Girsanov's theorem
  • Monte Carlo option pricing
  • Simulating SDEs: the Euler–Maruyama scheme

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

Mean reversion: Ornstein–Uhlenbeck

A rate pulled back towards a long-run level θ at speed κ while noise keeps pushing it away. Paths settle into a band of width σ/√(2κ).

Parameters

1.5
0.16
3.0%
-0.020.1
2.0%
0.0050.06
1.0%
-0.050.1
Random seed: 7
Metrics
Half-life
0.46 yr
Stationary band width
±1.15%
Paths ever below 0
29%
Below 0 at T (exact)
0.3% (0.5%)
600 rate paths with the expected path, the θ ± band and the half-life
Distribution at T = 5 (rate in %) against the exact normal law