Latest posts

  • Correlation Matrix Not Positive Definite? Diagnose Cholesky Errors in Python

    Cholesky failed? Use Python to distinguish an invalid correlation matrix from a valid singular one, trace the cause and choose a repair for Monte Carlo simulation.

    Read more

  • What Is Value at Risk (And Why It Doesn’t Add Up)

    Value at Risk is the number that sits at the top of every bank’s daily risk report, drives regulatory capital, and gets quoted in board meetings by people who could not define it. It is also not a measure of risk, in a sense that can be made precise. Here is a portfolio where splitting…

    Read more

  • Your Volatility Surface Interpolation Creates Arbitrage

    Take five market quotes for one-year options. Check them: every butterfly you can build from them costs money, so the quotes are arbitrage-free. Fit a cubic spline through the implied volatilities, which is what most desks and most textbooks do. The resulting surface contains a butterfly that costs minus one cent. A portfolio that can…

    Read more

  • You Need 400 Years of Data to Estimate an Expected Return

    A quant can measure the volatility of a stock to four decimal places from one year of intraday data. Measuring its expected return to within one percentage point takes four hundred years. Both numbers come from the same model, the same price series and the same estimator. The asymmetry is not a data problem, and…

    Read more

  • Antithetic Variates Can Increase Your Variance

    Every Monte Carlo tutorial recommends antithetic variates. Pair each draw with , average the two payoffs, and get a lower variance for free. It costs four lines of code and no thought. On a straddle, it makes things worse. Not marginally worse. To match the accuracy of plain Monte Carlo you need 1.64 times as…

    Read more

  • Your CIR Simulation Produces Negative Rates

    The Cox-Ingersoll-Ross process is the standard answer to a standard complaint about Vasicek: the short rate should not go negative, and CIR’s diffusion term shuts off the volatility as the rate approaches zero. The boundary is respected. That is the selling point. Then you discretise it, and 88% of your paths go negative. The instinct…

    Read more

  • Feynman–Kac Theorem: Formula and Python Example

    The Feynman–Kac theorem connects the solution of a parabolic PDE with an expectation over a diffusion process, under suitable regularity and integrability conditions. In option pricing, it links a pricing PDE to a discounted expected payoff. Below, we compare finite differences and Monte Carlo under the same Black–Scholes model. There are two ways to price…

    Read more

  • What Is Gamma? (And Why Short Gamma Kills Slowly, Then All at Once)

    Gamma is the rate of change of delta. That definition is correct, useless on its own, and hides the property that actually matters: gamma is why a hedged option book bleeds in a straight line for months and then loses a year of P&L in a week.     It is a second derivative, which…

    Read more

  • What Is the Hull-White Model?

    Hull-White is what you use when Vasicek fails, and it fails for one reason: three parameters cannot reproduce today’s yield curve. Hull-White fixes exactly that, and the fix is smaller than people expect.     In this convention, is a drift level, with units of rate per year, while a has units of inverse years.…

    Read more

  • What Is the Vasicek Model? (And Why Nobody Uses It)

    Vasicek is the first interest rate model almost everyone meets. It is elegant, it has closed-form bond prices, and it is the natural place to start because it is just mean reversion with Gaussian noise. It is also not used to price anything on a real desk. The usual explanation — that it produces negative…

    Read more