Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceProbability & MeasureStochastic ModelsMarket MicrostructureGuide

© 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.

Interactive study aid · Quantitative finance

Learn quant finance by seeing it move.

Change an input and watch prices, curves and risk respond. Then read the reasoning behind it, one careful step at a time.

Begin the first lessonExplore the labs
S₀ 1000TS_T distribution
Fig. 1 — geometric Brownian motion, μ 7%, σ 30%70 paths

Just released

New in the sandbox

Nov 2BetaProbability SpaceThrow darts at a board: events are regions, probability is area.Nov 2Betaσ-AlgebrasSee σ-algebras as what an observer can tell apart, and watch information grow.Nov 2BetaLebesgue MeasureCover sets with intervals: the rationals have length zero.Nov 2BetaRandom VariablesSpin a pointer and see a random variable as a function of the outcome.Nov 2BetaLebesgue IntegralSlice the area by height instead of by position.Nov 2BetaConvergenceWatch mass escape and learn when limits pass through expectations.
41interactive labs
6trading desk games
90guide lessons
7areas of finance
2languages (EN · HU)

Start here

Forwards, calls and puts

Begin

Featured

Tools built to be used

Knowledge graphOpen →

The labs

41 instruments

01

Derivatives

Options, payoffs and pricing models.

Derivatives pricing · 17 lessons
01.1Black–ScholesClosed-form price and every Greek, across spot and time.01.2Payoff LabBuild option strategies and read the payoff at expiry.01.3BinomialPrice an option step by step on a recombining tree.01.4HestonStochastic volatility and the shape of the smile.01.5BetaDelta HedgingRebalance a hedge and watch the replication error.
02

Portfolio & Risk

Risk, return, CAPM and portfolio optimization.

Portfolio & risk · 12 lessons
02.1BetaPortfolio OptimizationMinimum variance, the frontier and the tangency portfolio.02.2BetaRisk & ReturnMean, volatility, correlation and Sharpe from returns.02.3BetaCAPMBeta, the security market line and alpha.02.4BetaFama–FrenchSize, value and momentum exposures from real factor data.02.5BetaPortfolio LabDiversification with two to many assets.02.6BetaSystemic RiskEdit a bank network and watch a shock spread.
03

Fixed Income

Bonds, yield curves, duration and convexity.

Fixed income · 10 lessons
03.1BetaYield CurveBootstrap zeros, forwards and discount factors from par quotes.03.2BetaBond LabPrice, yield and the coupon effect on one curve.03.3BetaDuration & ConvexityFirst- and second-order rate risk, side by side.03.4BetaTreasury Futures LabConversion factors, basis and cheapest-to-deliver.03.5BetaInterest Rate Swap LabPar rate, both legs and value after the curve moves.03.6BetaCallable Bond LabThe call caps the price: negative convexity and when the issuer calls.03.7BetaImmunization LabMatch duration so rate moves cancel out.
04

Corporate Finance

NPV, DCF valuation, WACC and capital structure.

Corporate finance · 10 lessons
04.1BetaValuation (DCF)Forecast cash flows, discount them, add terminal value.04.2BetaNPV / IRRProject cash flows, hurdle rates and the NPV profile.04.3BetaTime Value of MoneyCompounding, discounting and annuities.04.4BetaCost of Capital (WACC)Cost of equity, cost of debt and the blend.04.5BetaCapital StructureLeverage, taxes and firm value.
05

Probability & Measure

Events, σ-algebras, measure, integrals and convergence.

Probability and measure · 13 lessons
05.1BetaProbability SpaceThrow darts at a board: events are regions, probability is area.05.2Betaσ-AlgebrasSee σ-algebras as what an observer can tell apart, and watch information grow.05.3BetaLebesgue MeasureCover sets with intervals: the rationals have length zero.05.4BetaRandom VariablesSpin a pointer and see a random variable as a function of the outcome.05.5BetaLebesgue IntegralSlice the area by height instead of by position.05.6BetaConvergenceWatch mass escape and learn when limits pass through expectations.05.7BetaConditional ExpectationThe best guess from what you know, and how to reweight P into Q.
06

Stochastic Models

Brownian motion, Itô and Monte Carlo.

Stochastic models · 17 lessons
06.1BetaBrownian MotionPath cloud, √t bands, barriers and Brownian lessons.06.2BetaRandom WalkCoin-flip walks, √t scaling and the central limit theorem.06.3BetaGeometric Brownian MotionLog-normal price paths and their expected value.06.4BetaItô ProcessWhy log prices drift at μ − ½σ².06.5BetaMonte CarloPrice by simulation and watch the estimate converge.
07

Market Microstructure

Order books, quoting, inventory and information.

Market microstructure · 11 lessons
07.1BetaMarket MakingQuote a bid and an ask, earn the spread, manage inventory.07.2BetaOrder BookWalk the book with market orders and wait in the queue.07.3BetaAvellaneda–StoikovSkew your quotes against inventory and risk aversion.07.4BetaGlosten–MilgromWhy informed traders make the spread.07.5BetaKyle ModelTrade as the insider and hide in the noise.07.6BetaSpread EstimationRecover the spread from a tape of trades.

The guides

90 lessons, in order

All guides
01Derivatives pricing0 / 17Begin
02Portfolio & risk0 / 12Begin
03Fixed income0 / 10Begin
04Corporate finance0 / 10Begin
05Probability and measure0 / 13Begin
06Stochastic models0 / 17Begin
07Market microstructure0 / 11Begin

Recent updates and upcoming features

Development

Recently added

  • Probability & Measure area — seven labs on twelve pages (dart board, σ-algebras and filtrations, covering sets, random variables and distribution functions, the Lebesgue integral, convergence, conditional expectation and change of measure) and a 13-lesson guide track
  • Market Microstructure area — six labs (order book, market making, Avellaneda–Stoikov, Glosten–Milgrom, Kyle, spread estimation), a market making desk and an 11-lesson guide track
  • Six trading desk games — hedging, pension ALM, rates, portfolio, retirement and market making — each with five missions, live help, a playthrough and a debrief
  • The Stochastic Learning Studio lessons now live as pages inside the random walk, Brownian motion, GBM, Itô and Monte Carlo labs
  • Callable bond lab — negative convexity in action
  • Interest rate swap lab — par rate, both legs, and the value after the curve moves
  • Sandbox page: every desk and lab challenge in one place, with your saved progress
  • Lab prediction rounds now keep score: plays, hit rate and best streak

Coming next

  • Interactive upgrades for the derivatives labs — payoff sketching and step-through backward induction
  • Free-play mode for the desks: simulate with no objectives

Planned modules

  • Credit risk and real options labs
  • Numerical methods for solving PDEs
  • Macroeconomics
  • Microeconomics
  • Analysis
  • Linear algebra
What is this site? This site is a study aid for students of the ELTE & Corvinus Actuarial and Financial Mathematics program. This is a personal project, so development happens when I have time and motivation.