Quant with Vahab
Quant Systems Lab · Control Systems for Quantitative Finance
Glossary

Quant Concepts Visualised

Curated quantitative finance concepts with interactive visuals. Built to align with your book and “Quant with Vahab”.

Use search and filters to navigate models, pricing, and risk topics.

78+
Concepts
78
Visualisations
7
Categories
100%
Interactive
Filters
Showing 78 of 78
Category
Level
RiskIntermediate
Value at Risk (VaR)

A loss threshold: “on a normal day, losses should not exceed this amount with X% confidence.”

riskquantileloss distributiontail
Learn more →
Time SeriesIntermediate
Kalman Filter

A real-time state estimator that combines a model and noisy measurements in an optimal way.

filteringstate-spaceestimationobserver
Learn more →
DerivativesIntermediate
Binomial Option Pricing (CRR)

Price options on a tree of future prices by working backwards under a risk-neutral world.

optionslatticerisk-neutralreplication
Learn more →
DerivativesIntermediate
Black–Scholes Option Pricing

The textbook formula for European options in an idealised world with continuous hedging and constant volatility.

optionsblack-scholesgreeksimplied volatility
Learn more →
FoundationsIntermediate
Geometric Brownian Motion (GBM)

A continuous-time random growth model where relative price changes are normal and prices stay strictly positive.

stochastic processdiffusionlognormalblack-scholes
Learn more →
FoundationsBasic
Bid–Ask Spread

The gap between what the market will pay you and what it will charge you — your immediate cost of trading.

micro basicsliquidityfrictionquotes
Learn more →
FoundationsBasic
Order Types (Market, Limit, Stop)

Order types express your priority: do you care more about being filled, or about the price you pay?

execution basicslimitmarketstop
Learn more →
FoundationsBasic
Mark-to-Market

Revaluing positions at current market prices to see where you stand right now in P&L and risk terms.

pnlvaluationrisk systemsmeasurement
Learn more →
FoundationsBasic
Returns and Log-Returns

Simple returns measure percentage change; log-returns add nicely over time and align with GBM-style models.

returnslogcompoundinggbm
Learn more →
FoundationsBasic
Volatility (Realised vs Implied)

Realised volatility comes from past price moves; implied volatility is the market’s quote for future uncertainty.

volatilityrealisedimpliedoptions
Learn more →
FoundationsBasic
Arbitrage and No-Arbitrage

No-arbitrage is the pricing consistency rule: you cannot get something for nothing at scale.

pricingconsistencyrisk-neutral
Learn more →
FoundationsBasic
Discounting and Present Value

A CHF tomorrow is worth less than a CHF today. Discounting converts future cash flows to today.

time valueratespvdiscount factor
Learn more →
FoundationsBasic
Duration and Convexity (Intuition)

Duration is first-order rate sensitivity; convexity is the second-order correction.

bondsratessensitivity
Learn more →
FoundationsBasic
Margin and Leverage

Leverage amplifies gains and losses; margin is the collateral mechanism that enforces survival constraints.

leveragemarginrisk management
Learn more →
FoundationsBasic
Liquidity vs Solvency Risk

Liquidity is ‘can you pay today’; solvency is ‘are you worth more than you owe’.

liquiditysolvencyfundinghaircuts
Learn more →
Research & SystemsAdvanced
Change of Measure (Girsanov)

Change of measure turns one drift into another by reweighting paths, while preserving Brownian noise.

measure changerisk-neutralmartingalegirsanov
Learn more →
Research & SystemsAdvanced
Stochastic Volatility (Heston) and Characteristic Functions

Heston couples price and variance dynamics; its characteristic function gives semi-closed-form prices.

stochastic volatilityhestoncharacteristic functionsmile
Learn more →
Research & SystemsAdvanced
Credit Intensity Models and Default Correlation

Intensity models treat default as a random time with a hazard rate, which can be linked across names via factors.

creditintensitydefaultcorrelation
Learn more →
Research & SystemsAdvanced
XVA (CVA/FVA) Mechanics

XVA adjusts idealised prices for counterparty, funding, and capital effects along the exposure profile.

xvacvafvaexposure
Learn more →
Research & SystemsAdvanced
Optimal Execution as Stochastic Control

Optimal execution balances market impact and risk over time, typically via quadratic cost control problems.

executioncontrolimpactschedule
Learn more →
Research & SystemsAdvanced
Particle and Kalman Filtering in Finance

Filters infer hidden states (value, volatility, regimes) from noisy price or order-flow observations.

filteringstate-spaceparticle filterkalman
Learn more →
Research & SystemsAdvanced
Distributionally Robust Optimisation

DRO optimises performance under the worst distribution in an ambiguity set, not just under a point estimate.

robustambiguityportfoliowasserstein
Learn more →
Research & SystemsAdvanced
High-Dimensional Covariance Shrinkage

Shrinkage stabilises noisy covariance matrices by pulling them toward structured targets.

covarianceshrinkagehigh-dimensionalportfolio
Learn more →
Research & SystemsAdvanced
Latency, Event-Driven Systems, and Kill-Switch Design

Latency creates risk windows; kill-switches turn risk metrics into hard stop conditions in event streams.

latencysystemseventskill-switch
Learn more →
Research & SystemsAdvanced
Validation Theory: Backtest Power and Multiple Testing

A convincing backtest needs power against realistic alternatives and control of data-mining false discoveries.

validationbacktestpowermultiple testing
Learn more →
FoundationsBeginner
Put–Call Parity

A no-arbitrage relation linking European calls, puts, spot, and discount factors.

optionsparityno-arbitrage
Learn more →
FoundationsBeginner
Risk-Neutral Measure (Intuition)

A probability tilt that replaces real-world drift with the risk-free rate so discounted prices become martingales.

risk-neutralmeasurepricingmartingale
Learn more →
FoundationsBeginner
Monte Carlo Pricing

Price derivatives by simulating many risk-neutral paths and averaging discounted payoffs.

pricingsimulationrisk-neutral
Learn more →
FoundationsBeginner
Yield Curve Bootstrapping

Use a sequence of traded rates to solve for discount factors and build a zero-coupon curve.

ratesyield curvediscount factor
Learn more →
FoundationsBeginner
Linear Regression (OLS) in Factor Models

Estimate factor loadings (betas) by regressing asset returns on one or more risk factors.

regressionbetafactor modelols
Learn more →
FoundationsBeginner
Covariance Estimation and Correlation

Covariance measures joint variability in units; correlation rescales it to a dimensionless sensitivity between −1 and 1.

covariancecorrelationestimation
Learn more →
FoundationsBeginner
VaR vs CVaR (Expected Shortfall)

VaR is a loss quantile; CVaR is the average loss beyond that quantile.

risktail riskexpected shortfallloss distribution
Learn more →
Architecture & SystemsIntermediate
Pricing Library Architecture (Instrument–Market–Model–Pricer)

Separate contract, data, assumptions, and numerical method so the library can grow without breaking.

architectureinstrumentmarketmodel
Learn more →
Architecture & SystemsIntermediate
Product and Pricer Registry

Use registries to map product types and models to pricers instead of hard-wiring dependencies.

architectureregistryextensibilitydependency inversion
Learn more →
Architecture & SystemsIntermediate
Market and Model Versioning

Snapshot IDs and model IDs make valuations reproducible months later.

versioningsnapshotmodelaudit
Learn more →
Architecture & SystemsIntermediate
Run Configuration and Determinism

A valuation run is defined by its configuration; determinism follows from controlling every input.

determinismconfigurationrun-idreproducibility
Learn more →
RiskBeginner
Greeks and Risk Factors

Greeks measure sensitivity of prices to well-defined risk factors like spot, rates, and volatility.

greeksrisk factorssensitivitiesrisk engine
Learn more →
RiskIntermediate
Scenario and Stress Engine

Scenarios apply coherent shocks to market snapshots and revalue portfolios for risk and regulation.

scenariosstress testingriskvaluation
Learn more →
RiskIntermediate
P&L Explain and Attribution

P&L explain decomposes daily profit and loss into risk-factor moves, new trades, and residuals.

pnlattributionriskcontrols
Learn more →
FoundationsBeginner
Curve Conventions and Day-Count

Day-count, compounding, and calendars connect abstract rates to real cash-flow accruals.

day-countcompoundingcalendarsrates
Learn more →
Architecture & SystemsAdvanced
Model Calibration and Validation

Calibration fits model parameters to market data; validation checks whether the model is fit for purpose.

calibrationvalidationmodel riskparameters
Learn more →
Power & CommoditiesBeginner
Power Forward Seasonality and Shape

Power forward curves are not flat lines: they reflect seasonal demand patterns and shaped delivery blocks.

powerforward curveseasonalityshape
Learn more →
Power & CommoditiesBeginner
Baseload vs Peakload Products

Baseload delivers all hours; peakload focuses on high-demand hours. Shape risk is the difference between them.

powerbaseloadpeakloadshape
Learn more →
Power & CommoditiesIntermediate
Spark and Dark Spreads

Spark and dark spreads measure the margin from turning fuel into power, net of efficiency and CO₂ costs.

powergasspreadtolling
Learn more →
Power & CommoditiesIntermediate
Power–Gas–CO₂ Correlation Structure

Power, gas, and CO₂ prices move together through the merit order: correlation structure drives hedging and risk.

powergasco2correlation
Learn more →
Power & CommoditiesBeginner
Load Profile and Volume Risk

A load profile spreads volume across hours; volume risk is the deviation between forecast and realised load.

loadvolume riskprofileimbalance
Learn more →
Time SeriesBeginner
Temperature–Load Relationship

Temperature drives heating and cooling demand; a simple weather–load model underpins many power forecasts.

temperatureloadweatherforecasting
Learn more →
Power & CommoditiesIntermediate
Hydro Reservoir and Water Value

Water in a hydro reservoir is an inventory with an option value: using it today precludes future generation.

hydrowater valuereal optionsdispatch
Learn more →
Power & CommoditiesIntermediate
Gas Storage Optionality

Gas storage assets embed an option to shift volume across time, constrained by capacity and injection/withdrawal limits.

gasstoragetime spreadoptionality
Learn more →
Power & CommoditiesAdvanced
Swing Options and Volume Flexibility

Swing contracts grant flexible volume each period within local and global bounds, making them path-dependent real options.

swingvolume flexibilitypath dependencegas
Learn more →
Power & CommoditiesBeginner
Merit Order and Supply Stack

The merit order sorts generation units by marginal cost; where demand meets the stack determines the power price.

merit ordersupply stackclearing pricepower
Learn more →
Power & CommoditiesIntermediate
Location and Basis Risk in Power Markets

Basis risk arises when hedging at a hub or zone that does not perfectly match the physical delivery point.

basislocationhedgingpower
Learn more →
Architecture & SystemsBeginner
Git Workflow and Protected Main

Protected main plus pull requests and code review is the basic safety net for critical analytics code.

gitworkflowpull requestscode review
Learn more →
Architecture & SystemsBeginner
CI Pipeline and Test Gates

Continuous integration runs tests and checks on every change so broken code never reaches main.

continuous integrationtestsqualitygates
Learn more →
Architecture & SystemsIntermediate
Test Pyramid and Regression Suite

A stable library relies on many small unit tests, fewer integration tests, and a focused regression suite for key trades.

testsunitintegrationregression
Learn more →
Architecture & SystemsIntermediate
Schema Migrations and Backward Compatibility

Alembic-style migrations evolve the database safely by applying small, versioned changes that keep old and new code working.

databasemigrationsbackward compatibilityalembic
Learn more →
Architecture & SystemsBeginner
Library Release Versioning

Versioned releases and a changelog let you tie any valuation back to a specific library build and behaviour set.

versioningreleasessemanticchangelog
Learn more →
Architecture & SystemsIntermediate
Structured Logging and Run IDs

Structured logs with run IDs and trade IDs turn production errors into actionable, traceable events.

loggingobservabilityrun-idtraceability
Learn more →
Architecture & SystemsIntermediate
Scheduled Jobs and Worker Queues

Background workers execute heavy or recurring tasks such as nightly risk, calibration, and data ingestion.

workersscheduled jobsqueuesbatch
Learn more →
Architecture & SystemsAdvanced
Performance Profiling and Bottlenecks

Profiling identifies where time is actually spent so optimisation efforts focus on real bottlenecks, not guesses.

performanceprofilingbottlenecksoptimisation
Learn more →
Architecture & SystemsBeginner
Validation Toolbox for Pricers

A practical toolkit: unit tests, golden regressions, finite differences, sanity checks, and reproducibility checks.

validationtestsregressionsanity
Learn more →
Architecture & SystemsIntermediate
Golden Regression Tests

Golden regressions lock a set of inputs and outputs so any drift in pricing behaviour becomes immediately visible.

regressiongolden testsdrift detectionreference trades
Learn more →
Architecture & SystemsIntermediate
Finite-Difference Checks for Greeks

Finite differences approximate sensitivities numerically and provide an independent check on analytic Greeks.

greeksfinite differencessensitivitieschecks
Learn more →
Architecture & SystemsBeginner
Sanity Checks: Monotonicity and Bounds

Simple economic constraints such as monotonicity, sign, and arbitrage bounds catch deep bugs with minimal effort.

sanitymonotonicityboundsno-arbitrage
Learn more →
Research & SystemsAdvanced
Monte Carlo Model Validation

Validating Monte Carlo requires testing the path generator, convergence to benchmarks, and confidence-interval coverage.

monte carlovalidationconvergenceconfidence intervals
Learn more →
Architecture & SystemsIntermediate
Numerical Tolerances for Regression Tests

Tolerances must reflect trade scale, numerical method, and noise sources, balancing stability against necessary change.

toleranceregressionnumericsstability
Learn more →
Architecture & SystemsBeginner
Market Snapshots as Bundles

A market snapshot is an immutable bundle of curves, vols, and fixings that defines the pricing environment for a run.

snapshotmarket datacurvesvol surfaces
Learn more →
Architecture & SystemsBeginner
Run ID and Provenance

A run ID ties together snapshot, models, library version, and configuration so every number has a recipe.

run-idprovenancemetadatareproducibility
Learn more →
Architecture & SystemsIntermediate
Raw vs Curated Data and Transformations

Raw vendor data is the starting point; curated curves and models are versioned outputs of documented transformation pipelines.

raw datacuratedtransformationspipeline
Learn more →
Architecture & SystemsIntermediate
Snapshot Versioning and Corrections

New snapshots capture corrections and backfills without rewriting history, keeping as-used and corrected views side by side.

versioningcorrectionshistorysnapshots
Learn more →
Architecture & SystemsIntermediate
Replay of Valuation Runs

Replay means re-running a past valuation with the same trades, snapshot, models, and code version to recover the original numbers.

replayreproducibilityvaluationruns
Learn more →
Architecture & SystemsAdvanced
Data Lineage and Audit Trail

Data lineage traces each reported number back through runs, snapshots, transformations, and raw sources for full auditability.

lineageauditgovernancetraceability
Learn more →
Research & SystemsIntermediate
Snapshots as System State

In control-theoretic terms, market snapshots act as observable system state for the trading and risk engine.

statecontrol theorysnapshotssystem view
Learn more →
DerivativesBeginner
Option Payoff Types and Path Dependence

European, American, Asian, and barrier options differ mainly in when and how the payoff depends on the price path.

optionspayoffpath dependenceeuropean
Learn more →
FoundationsBeginner
Forwards and Futures Pricing (Cost of Carry)

Forwards and futures lock in a future price; cost-of-carry and convenience yield link them to today’s spot.

forwardsfuturescost of carryconvenience yield
Learn more →
Research & SystemsIntermediate
Numeraire and Forward Measures

Choosing a numeraire (bank account, bond, annuity) induces a measure under which that numeraire-valued price is a martingale.

numeraireforward measurerisk-neutralmartingale
Learn more →
DerivativesIntermediate
Black-76 Pricing for Forwards and Futures

Black-76 prices options on forwards or futures using forward price, discount factor, and implied volatility as primary inputs.

black-76forwardsfuturesoptions
Learn more →
DerivativesIntermediate
Implied Volatility Smile and Surface

The smile shows how implied volatility varies with strike; the surface extends this across maturities under no-arbitrage constraints.

implied volsmilesurfaceno-arbitrage
Learn more →