Companion files

Quantitative Finance

A Practitioner’s Guide to Pricing, Hedging, and Where the Money Actually Comes From

These are the four Excel workbooks that go with the book. Every figure the book prints is reproduced in them by a live formula rather than a typed constant — change the spot, the strike, the rate, the volatility or the number of steps and every dependent number moves. Each one ends with a Checks sheet setting the printed figure beside the computed one: 46 controls in all, every one green. If a control ever reads FAIL, the workbook is wrong, not the book.

Free to download. No sign-up, no email address, nothing to fill in.

All four workbooks

Download the ZIP47 KB

Everything described below is inside it, with the read-me.

The four workbooks

Conventions used throughout

Blue texta hardcoded input — you may edit these
Yellow fillan input cell; everything else on the sheet is a formula
Black texta formula — do not overtype these
Checks sheetthe printed figure beside the computed one, with a PASS or a FAIL

Why the checks matter more than the models

A workbook that agrees with a book proves nothing on its own — the author wrote both. What the Checks sheets do is different: they force the model to reproduce a number that was printed before the model existed, from a formula rather than from the number itself.

On this book the checks caught two things a reader would never have seen. The lattice was rebuilt from the binomial distribution because a laid-out tree cannot reach a thousand steps in a spreadsheet, and the closed form had to reproduce all seven printed convergence prices to six decimal places before it could be trusted. And gamma, vega and theta came out wrong at first because a defined name for the normal density collided with the one for the cumulative distribution — spreadsheet names are case-insensitive, and the check sheet was the only thing that noticed.

What a spreadsheet cannot do is stated rather than hidden: a million simulated paths and twenty thousand hedged paths do not fit in one, so those results are the runs reported in the book. What is computed live beside them is the quantity that decides whether they can be trusted.

Opening the files

The workbooks open in Microsoft Excel, LibreOffice Calc, Google Sheets and Numbers. They use no macros and no add-ins, so nothing needs to be enabled or trusted. If your spreadsheet asks to update links on opening, decline — there are none.

Articles on this book

Also by Julian R. Sterling

The other books with companion files. The full list of titles is on the author page.