# Start here: companion files of The Credit Default Swap Handbook (Julian R. Sterling)

Four spreadsheet files (.xlsx). Each has an Inputs tab (blue cells, type your own values), a Calc tab (formulas only) and a Checks tab (each line reads 0 when the check passes); the workbooks that follow the coupon periods also have a Periods tab, one row per accrual period.

- `CDS_W1_Pricing_on_the_Case_Curve.xlsx`: Workbook 1: Pricing a Contract on the Case Curve. Contract 1 on May 8, 2026 on the case's curve: the coupon calendar, discount factors, the three hazard rates of the book as inputs, survival and default probabilities, both legs, the risky annuity, the par spread, the points upfront, the upfront payment and the accrued premium, with a Check that the hazard rates give back each node spread.
- `CDS_W2_Flat_Spread_Valuation.xlsx`: Workbook 2: Flat-Spread Valuation, CS01 and Jump-to-Default. One contract on one flat spread (the calculator method), here Contract 4 on October 12, 2026: flat hazard rate, survival by coupon period, both legs, risky annuity, mark-to-market value, CS01 and jump-to-default of one member.
- `CDS_W3_Settlement_Hedge_and_Index.xlsx`: Workbook 3: Settling the Credit Event, the Hedge and the Index. The credit event of the case: protection payments, accrued premiums at default and net settlements of Contracts 1, 2 and 4, the loss of the term loan against the protection, the index factor, the remaining notional and the initial margin after the default.
- `CDS_Pricing_Calculator.xlsx`: the free CDS pricing calculator, built from the cells of Workbook 2 and filled with example values that are not the case of the book.

The values typed in the files are the book's fictional case of Calvermere Bank, N.A. and Velloran Industries, Inc.: teaching assumptions, not market figures. Change one input at a time; when an exercise of the book says that several inputs change together, change them together. Read the result again. Rely on nothing while a line of the Checks tab is above zero.
