The Quant Interviewsbook you can audit.

194 questions — from core quantitative reasoning to production-grade system design.Every answer comes with the derivation, tested code, failure modes and a repository you can inspect — not just a solution sketch.

The complete Quant Interviews book is free in PDF.

1,630
pages
194
auditable questions
58,459
lines of code
Quant Interviews Volume I front cover Volume I
Mathematics & MarketsCH01–07 · 745 pages · 100 questions
Quant Interviews Volume II front cover Volume II
Research & SystemsCH08–14 · 885 pages · 94 questions
QuantJourney OpenBook

Quant
Interviews

◆

From Mathematical Foundations to Production-Grade Quant Systems

194 interview questions with full derivations, executable Python, C++ and SQL implementations and tests. If a numerical claim can be tested, it is.

1,630 pages · 194 questions · 2,319 rendered equations · 14 chapters in 2 volumes

Quant Interviews hardcover — ivory cover with navy serif title, gold rules and a wireframe Gaussian surface

An answer you can inspect and discuss.

Each question carries the derivation, implementation contract and tests behind it—so you can inspect, challenge and discuss the result, not just read the solution.

Interviewer prompt

The question as asked, with role tags and expected time.

30-second answer

The answer given first, before any derivation.

Full solution

The complete derivation; every displayed equation is numbered.

Intuition

The mechanism behind the result, in a few sentences.

Common wrong answers

Recurring mistakes, stated precisely.

Interviewer follow-ups

Where the conversation goes after a correct answer.

Implementation & production note

Estimation issues that appear when the result meets capital.

Lab — implementation contract

Inputs, invariants and failure conditions, fixed before code.

Tests & evidence

Source code and tests; listings are extracted from tested implementations.

14 chapters. Search every question.

Search across all 194 question titles, concepts and chapter names. Or open a chapter to browse it in full.

Volume I — Mathematics and Markets

chapters 01–07 · 745 pages · 100 questions

01Probability and Statistical Inference98 pp · 16 q
  1. 01Base Rates and an Apparently Strong Classifier
  2. 02Tower Property in a Latent-Regime Model
  3. 03Dependence Beyond Correlation
  4. 04Simpson’s Paradox in Strategy Aggregation
  5. 05Sampling Uncertainty of a Sharpe Ratio
  6. 06Block Bootstrap for Dependent Returns
  7. 07Maximum Likelihood and Information
  8. 08Robust Estimation Under Heavy Tails
  9. 09Five Thousand Backtests and False Discoveries
  10. 10Sequential Peeking and Optional Stopping
  11. 11Power and Minimum Detectable Alpha
  12. 12Winner’s Curse After Model Selection
  13. 13Bayesian Update for a Trading Edge
  14. 14Model Comparison by Predictive Evidence
  15. 15Heteroskedastic and Autocorrelated Regression Errors
  16. 16From Statistical Significance to Expected Utility
02Linear Algebra and Optimization97 pp · 14 q
  1. 01Why Every Covariance Matrix Is Positive Semidefinite
  2. 02Eigenvalues of an Equicorrelation Matrix
  3. 03Diagnosing an Ill-Conditioned Covariance Matrix
  4. 04PCA as a Risk Decomposition
  5. 05Factor Models and the Woodbury Identity
  6. 06Correlated Simulation with Cholesky and Its Failure Modes
  7. 07Shrinkage Covariance and Portfolio Stability
  8. 08Projecting an Invalid Matrix to the Nearest Correlation Matrix
  9. 09Markowitz Optimization with Linear Constraints
  10. 10Turnover-Regularized Portfolio Optimization
  11. 11Risk-Parity Equations and Non-Uniqueness
  12. 12Fast Portfolio Updates with Sherman-Morrison-Woodbury
  13. 13Why Solving Ax=b Beats Forming A⁻¹
  14. 14L1 versus L2 Constraints in Sparse Portfolio Design
03Calculus, PDEs and Numerical Methods111 pp · 12 q
  1. 01Newton-Raphson Convergence and Failure
  2. 02A Robust Implied-Volatility Root Finder
  3. 03Quadrature Error for Smooth and Singular Payoffs
  4. 04Monte Carlo versus Quasi-Monte Carlo
  5. 05Stability of an Explicit Finite-Difference Scheme
  6. 06Why Crank-Nicolson Can Oscillate
  7. 07Automatic Differentiation for Greeks
  8. 08Calibration as Weighted Nonlinear Least Squares
  9. 09Adjoint Sensitivities for Many Parameters
  10. 10Arbitrage-Aware Interpolation of Curves and Surfaces
  11. 11Solving a Mean-Reverting Linear ODE
  12. 12Boundary Conditions for a Barrier-Option PDE
04Stochastic Processes and Stochastic Calculus114 pp · 16 q
  1. 01Filtrations, Adaptedness and What the Trader Knows
  2. 02Quadratic Variation of Brownian Motion
  3. 03Distribution of a Deterministic Ito Integral
  4. 04When Is a Stochastic Integral a Martingale?
  5. 05Ito Lemma for the Log of an Asset Price
  6. 06Solving Geometric Brownian Motion
  7. 07Conditional Distribution of an Ornstein-Uhlenbeck Process
  8. 08The Ratio of Two Correlated Geometric Brownian Motions
  9. 09Exponential Martingales and Novikov Conditions
  10. 10Girsanov Change of Measure in One Factor
  11. 11Martingale Representation and Market Completeness
  12. 12Hitting Probabilities and Stopping Times
  13. 13Feynman-Kac from Pricing PDE to Expectation
  14. 14Strong and Weak Error of Euler-Maruyama
  15. 15When Milstein Improves on Euler
  16. 16Simulating Correlated Diffusions Safely
05No-Arbitrage and Derivatives118 pp · 16 q
  1. 01One-Period No-Arbitrage Bounds
  2. 02State Prices and Risk-Neutral Probabilities
  3. 03Put-Call Parity with Dividends and Stock Borrow
  4. 04Bounds on Vertical Spreads
  5. 05Butterfly Convexity across Strikes
  6. 06Calendar Spreads, Forwards and Carry
  7. 07Auditing a Sparse Option Surface for Static Arbitrage
  8. 08Replicating a Digital with Tight Call Spreads
  9. 09American Exercise in a Binomial Tree
  10. 10Risk-Neutral Pricing without Assuming Real-World Drift
  11. 11Deriving the Black-Scholes PDE
  12. 12Pricing a Forward-Start Option
  13. 13Quanto Drift Adjustment
  14. 14Barrier In-Out Parity and Monitoring Risk
  15. 15Dupire Local Volatility: What the Surface Implies
  16. 16Model-Independent Bounds for an Exotic Payoff
06Volatility, Greeks and Options Trading114 pp · 14 q
  1. 01Greeks by Units, Signs and Limiting Cases
  2. 02Delta-Hedged Option P&L and Realized Variance
  3. 03Constructing a Long-Gamma Short-Vega Trade
  4. 04Vanna and Volga Risk in a Smile Book
  5. 05Sticky Strike versus Sticky Delta
  6. 06Equity Skew and Crash-Risk Compensation
  7. 07Inverting Black-Scholes Implied Volatility
  8. 08Building a No-Arbitrage Volatility Surface
  9. 09Variance-Swap Replication from Options
  10. 10Corridor Variance and Tail Exclusion
  11. 11Heston Dynamics and the Shape of the Smile
  12. 12SABR Parameters and Smile Geometry
  13. 13Vol-of-Vol, Roughness and Forecast Horizons
  14. 14Hedging with Jumps and Discrete Rebalancing
07Fixed Income, Rates and Credit93 pp · 12 q
  1. 01Discount Factors, Zero Rates and Forward Rates
  2. 02Bootstrapping a Discount Curve
  3. 03Duration, Convexity and Key-Rate Risk
  4. 04Par Swap Rate, Annuity and DV01 Hedge
  5. 05Multi-Curve Discounting and Basis Risk
  6. 06Vasicek and Hull-White Short-Rate Models
  7. 07The HJM Drift Restriction
  8. 08Hazard Rates, Survival and Risky Bond Pricing
  9. 09CDS Par Spread and Hazard Bootstrap
  10. 10Structural versus Reduced-Form Credit Models
  11. 11Callable Bonds, OAS and Negative Convexity
  12. 12Designing a Fixed-Income Risk and P&L Explain Engine

Volume II — Research and Systems

chapters 08–14 · 885 pages · 94 questions

08Time Series, Econometrics and Machine Learning121 pp · 16 q
  1. 01What Stationarity Means for a Trading Model
  2. 02Reading ACF and PACF without Pattern Matching
  3. 03AR(1) Half-Life and Mean-Reversion Speed
  4. 04Unit-Root Tests and Their Low Power
  5. 05Cointegration versus Correlation
  6. 06An Error-Correction Model for a Trading Spread
  7. 07Kalman Filtering a Time-Varying Hedge Ratio
  8. 08Regime-Switching Returns
  9. 09GARCH, Volatility Clustering and Forecasting
  10. 10Forecasting Realized Volatility
  11. 11Cross-Validation for Time-Series Data
  12. 12Purging and Embargo against Label Leakage
  13. 13Feature Selection under Dependence
  14. 14Calibrating Probabilistic Predictions
  15. 15Monitoring Concept Drift in Live Models
  16. 16Prediction Accuracy versus Economic Alpha
09Portfolio Construction, Risk and Performance134 pp · 16 q
  1. 01The Mean-Variance Portfolio from First Principles
  2. 02How Covariance Error Dominates Portfolio Weights
  3. 03Black-Litterman as Bayesian Portfolio Construction
  4. 04Risk Parity and Equal Risk Contributions
  5. 05Neutralizing Factors without Killing Alpha
  6. 06Turnover, Transaction Costs and Rebalancing
  7. 07Expected Shortfall as a Tail-Risk Measure
  8. 08Why VaR Can Fail
  9. 09Designing a Scenario and Stress Framework
  10. 10Drawdown as a Path-Dependent Risk
  11. 11Kelly Sizing under Parameter Uncertainty
  12. 12Capacity under Square-Root Market Impact
  13. 13Performance Attribution for a Systematic Book
  14. 14Sharpe, Information Ratio and Breadth
  15. 15Optimal Rebalancing Frequency
  16. 16Robust Portfolio Optimization
10Market Microstructure and Execution115 pp · 12 q
  1. 01Reading a Limit Order Book: Spread, Midpoint, Imbalance and Microprice
  2. 02Price-Time Priority, Queue Position and Fill Probability
  3. 03Market Order or Limit Order? Expected Cost and Adverse Selection
  4. 04Price Impact: Kyle Lambda, Square-Root Scaling and Capacity
  5. 05Almgren-Chriss Optimal Execution
  6. 06Execution Benchmarks: Implementation Shortfall, VWAP, TWAP and POV
  7. 07Smart Order Routing across Venues
  8. 08Hidden Liquidity, Icebergs and Dark Execution
  9. 09Transaction Cost Analysis without False Precision
  10. 10Self-Exciting Order Flow and Hawkes Processes
  11. 11Market Making, Inventory Risk and Avellaneda-Stoikov Quotes
  12. 12Designing a Production Execution Platform
11Programming, Data Structures, Python, C++ and SQL163 pp · 16 q
  1. 01Complexity Is Not a Latency Model: Big-O, Locality and the Amdahl Speedup Law
  2. 02Streaming Top-k with Deterministic Tie Handling
  3. 03Exact versus Approximate Rolling Quantiles
  4. 04Hash Maps, Symbol Tables and an LRU Cache That Does Not Lie
  5. 05Dependency DAGs, Topological Builds and Cycle-Safe Invalidation
  6. 06C++ Concurrency: False Sharing, Atomics and Bounded Queues
  7. 07RAII, Ownership and Exception-Safe Quant Components
  8. 08Floating-Point Representation, Stable Formulas and Tolerance Contracts
  9. 09NumPy Shapes, Broadcasting and Memory Layout
  10. 10Grouped Calculations: Pandas, Vectorization and SQL Parity
  11. 11Bitemporal Point-in-Time SQL without Look-Ahead
  12. 12SQL Window Functions: Lag, Ranking and Frame Semantics
  13. 13Price-Time Order-Book Data Structures
  14. 14Testing Numerical and Stochastic Quant Software
  15. 15Stable APIs, Schemas and Replay-Compatible Contracts
  16. 16Profiling, the Amdahl Speedup Law and Multi-Language Quant-System Design
12Data, Backtesting and Production System Design159 pp · 14 q
  1. 01Designing a Canonical Instrument Master under Identity Change
  2. 02Point-in-Time Data: Valid Time, Knowledge Time and As-Of Joins
  3. 03Corporate Actions, Adjusted Prices and Economic Return Reconstruction
  4. 04An Event-Driven Backtester with Explicit Clock Semantics
  5. 05Order Lifecycle, Partial Fills and Execution Realism
  6. 06Portfolio Accounting: Lots, Cash, FX, Financing and NAV
  7. 07Missing Data, Stale Prices, Delistings and Data-Quality Policy
  8. 08Reproducible Research Snapshots and Content-Addressed Lineage
  9. 09Walk-Forward Validation with Point-in-Time Universes and Purging
  10. 10Event Sourcing, Idempotency and Deterministic Replay
  11. 11Distributed Pipelines, Partitioned Backfills and Failure Recovery
  12. 12OMS, Pre-Trade Risk, Approval Rules and What-If State
  13. 13Reconciliation, Observability, SLOs and Incident Evidence
  14. 14An AI-Native Quant Platform with Deterministic Tool Boundaries
13Brainteasers, Estimation and Game Theory84 pp · 10 q
  1. 01Estimate Daily Equity Trading Notional from First Principles
  2. 02Extracting Fair Bits from an Unknown Biased Coin
  3. 03The Secretary Problem and Interview Timing
  4. 04Optimal Search with Recall, Cost and a Finite Horizon
  5. 05A First-Price Sealed-Bid Auction with Strategic Opponents
  6. 06Biased Gambler's Ruin with Unit Steps
  7. 07A Conditional-Probability Trap with Selection
  8. 08An Invariant in a Matrix Transformation Game
  9. 09Expected Hash Collisions in a Large System
  10. 10A One-Bit Communication Coordination Game
14Mock Interviews and Role Tracks109 pp · 10 q
  1. 01Quant Researcher Mock Interview: Signal Validation
  2. 02Quant Trader Mock Interview: Probability and Risk
  3. 03Desk Quant Mock Interview: Pricing and Hedging
  4. 04Quant Developer Mock Interview: Algorithms and C++
  5. 05Systematic PM Mock Interview: Capital Allocation
  6. 06Risk Quant Mock Interview: Stress and Controls
  7. 07ML Quant Mock Interview: Temporal Generalization
  8. 08Senior Platform Design Interview: Research to Execution
  9. 09Take-Home Research Case: From Dataset to Decision
  10. 10Scoring Rubric and Interviewer Calibration

Read the actual pages.

Who is this for?

Choose a role, not a reading order. These tracks cut across both volumes; the same question can appear in more than one track when the work overlaps.

QR

Quant Researcher

47 questions

Inference, time series, machine learning, portfolio construction and research validation.

CH01 · 02 · 08 · 09 · 12 · 14
QT

Quant Trader

39 questions

Derivatives, volatility, rates, microstructure, execution and decisions under uncertainty.

CH01 · 05 · 06 · 07 · 10 · 13
QD

Quant Developer

44 questions

Numerical methods, C++, Python, SQL, data contracts, replay and production systems.

CH02 · 03 · 10 · 11 · 12 · 14
PM

Systematic PM

36 questions

Evidence quality, portfolio construction, tail risk, attribution, capacity and governance.

CH01 · 07 · 09 · 10 · 12 · 14

Where most interview books stop.

These questions continue past the whiteboard into execution, C++, point-in-time data and production controls.

CH10

Market microstructure & execution

Queue position, adverse selection, market impact, smart order routing, TCA and production execution platforms.

CH11

Programming under real constraints

C++ concurrency, memory locality, numerical contracts, bitemporal SQL, stable APIs and replay-compatible components.

CH12

Research-to-production systems

PIT data, event sourcing, deterministic replay, OMS, reconciliation, observability and AI-native tool boundaries.

Not pseudocode. Executable code.

Get the code

Clone the complete repository. It contains 210 Python files (48,408 lines), 44 C++ files (4,334 lines) and 53 SQL files (5,717 lines), plus 67 public code-only test and validator files. The implementations, tests and rendered listings come from the same source tree.

Browse the repository
194
questions
58k+
lines of code
Python / C++ / SQL
three languages
Tests
included

Text — CC BY-NC-ND 4.0 · code & tool contracts — MIT

Get the book in PDF or buy the printed edition.

Enter your email once to receive the complete PDF and all 14 individual chapter files. This is a one-time delivery, not a marketing subscription. QuantJourney research & updates remain a separate, optional choice.

Digital edition $0

Full PDF. Both volumes and all fourteen chapters.

Get the PDF

This book may contain mistakes. You can help correct it.

Nobody is perfect, and neither is a technical book of this scale. It may contain mathematical, code, data or editorial errors. If you find one, report it publicly so it can be checked, discussed and corrected.

Report an error on GitHub Issues ↗
Review status
Public review edition. The book is prepared in public so that readers can report mathematical, technical, code and editorial defects through GitHub issues. A public-review release is a review copy, not a claim that every chapter has completed final validation. The author reviews reported issues and updates the book as verified corrections are made.
Rights
Text under CC BY-NC-ND 4.0 — free to read and to share verbatim, non-commercially, with attribution. Code and tool contracts under MIT. An authorized print edition is available from the author.

If you have questions

Practical answers about the PDFs, code, licenses and printed edition.

How do I get the PDFs?

Enter your email once and we will send a link to the complete digital edition. From that page you can download the whole book or any of the fourteen chapter PDFs separately. This is a one-time delivery email, not a marketing subscription.

Is the digital version really the whole book?

Yes. The digital edition contains both volumes and all fourteen chapters. It is not a shortened preview. The printed set contains the same core book for readers who prefer a physical reference and want to support the project.

Will downloading the book subscribe me to a newsletter?

No. Your email is used to deliver access to the PDFs. QuantJourney research & updates are a separate, optional choice on the form. Leaving that checkbox empty does not add you to an updates list.

Can I share or cite the book?

The book text is available under CC BY-NC-ND 4.0. You may share unmodified copies for non-commercial purposes with attribution. You may also cite the book in research, teaching and technical work. The code has a separate MIT license.

Can I use the code at work?

Yes. The Python, C++ and SQL implementations, JSON tool contracts and validation tools are MIT-licensed, including for commercial use. The license permits use; it does not replace your own review, security, model-risk or production-approval process.

What makes a question auditable?

A question does not stop at a short interview answer. It includes the derivation, assumptions, failure modes, an implementation contract, executable code and tests where the claim can be checked numerically. The public repository lets you inspect and run that evidence yourself.

Is the code ready to put directly into production?

Treat it as reviewed educational reference code, not as a drop-in trading system. The implementations and tests make assumptions visible, but every firm must validate data, numerical behavior, controls, performance, security and operational risk in its own environment.

Was this written by AI?

AI is part of the research, drafting and engineering toolchain. That is one reason the book is built around executable evidence rather than a request for trust. Numerical claims are tied to code and tests, and public review can still find mistakes. Inspect the sources, run the suite and report anything that does not hold up.

What if I find a mistake?

Please open a GitHub issue with the chapter, question identifier and enough detail to reproduce the problem. Mathematical, code, data, citation and editorial corrections are all useful during the public review. The issue trail keeps the discussion visible and checkable.

Why two volumes?

Two durable volumes make the book practical to use at the desk. Volume I covers mathematics and markets (chapters 1–7); Volume II covers research and systems (chapters 8–14). Together they form one book, but each volume can be used independently.

When does the print edition ship?

Pre-orders are paid at purchase through Stripe. After payment, you confirm delivery details on a secure QuantJourney page. The two-volume set is shipped within two weeks after printing; delivery timing after dispatch depends on the destination and carrier.

Can’t find the answer?

Send a question, correction or suggestion directly by email.

Send an email
Complete digital edition · free

Get both volumes.

Enter your email once to get access to the complete book in PDF and all 14 individual chapter files. This is a one-time delivery, not a marketing subscription. Select the separate optional checkbox if you want QuantJourney research & updates.

Expanded sample book page