Sub topic 22
Credit default swaps
This chapter assumes you know the plain vanilla swap from the earlier chapters (fixed payments exchanged for contingent or floating ones), present value, and basic bond credit risk (default probability and recovery rate).
What a credit default swap is
A credit default swap (CDS) is a derivative that transfers the credit risk of a borrower from one party to another. The borrower is the reference entity, and the bond or loan the contract is tied to is the reference obligation.
- The protection buyer pays a periodic premium. The buyer is short credit risk and gains if credit quality worsens.
- The protection seller collects the premium. If a credit event occurs, the seller pays the buyer for the loss. The seller is long credit risk.
A CDS works like insurance, with one difference. The buyer does not need to own the reference obligation. A buyer without that exposure holds a "naked" position, which is a pure bet that credit quality will fall.
Credit events and settlement
The contract defines which events trigger a payout. The usual ones are:
- Bankruptcy: the reference entity files for bankruptcy or is insolvent.
- Failure to pay: the entity misses a payment on its debt and the grace period ends.
- Restructuring: the entity changes debt terms in a way that hurts creditors, such as a lower coupon or a longer maturity. Some contracts exclude this event, and the buyer's protection is weaker when it does.
After a credit event, the contract settles in one of two ways:
- Physical settlement: the buyer delivers the defaulted bond and receives its face value. The buyer will deliver the cheapest eligible bond, which is called the cheapest-to-deliver option.
- Cash settlement: the seller pays the buyer the loss. The loss is notional × (1 − recovery rate). The recovery rate is usually set by an auction run after the event.
The premium stops once a credit event occurs. Because the payout depends on a recovery rate that is unknown in advance, the seller's exposure is uncertain.
Pricing: the credit triangle
A CDS spread is the annual premium, quoted in basis points. A rough link connects it to default risk:
CDS spread ≈ annual default probability × loss given default
Loss given default (LGD) is 1 − recovery rate. A 2% default probability and a 40% recovery rate give a spread of 0.02 × 0.60 = 1.2%, or 120 bp. This is an approximation. Exam questions use it to show direction: higher default risk or lower recovery means a higher spread.
Since 2009, standardized CDS contracts have used a fixed coupon, commonly 100 bp or 500 bp. The market spread rarely equals that coupon, so the two sides settle the gap with an upfront payment at initiation.
- Upfront premium ≈ (CDS spread − CDS coupon) × effective spread duration × notional.
- Approximate CDS price per 100 of notional ≈ 100 − upfront percentage.
If the spread is above the coupon, the buyer pays the seller upfront. If it is below the coupon, the seller pays the buyer.
Valuing a CDS after initiation
When the market spread changes, the CDS gains or loses value:
Change in CDS value ≈ change in spread × effective spread duration × notional
The sign follows the position. If credit spreads widen, the protection buyer gains and the protection seller loses. If spreads tighten, the reverse happens. The sensitivity depends on duration, so a 10-year CDS moves more than a 2-year CDS for the same spread change.
def approx_spread(default_prob, recovery):
"""Credit triangle: annual spread ~ default probability x loss given default."""
return default_prob * (1 - recovery)
def cds_upfront(spread, coupon, duration, notional):
"""Upfront payment from protection buyer to seller (negative means seller pays)."""
return (spread - coupon) * duration * notional
def cds_payout(notional, recovery):
"""Loss paid to the protection buyer after a credit event."""
return notional * (1 - recovery)
print(round(approx_spread(0.02, 0.40), 4)) # 0.012
print(round(cds_upfront(0.03, 0.01, 4.5, 10_000_000), 2)) # 900000.0
print(round(cds_payout(10_000_000, 0.40), 2)) # 6000000.0The second line shows a 300 bp market spread against a 100 bp coupon. The buyer pays 9% of notional upfront, so the contract price is about 91 per 100.
Index CDS and uses
A single-name CDS covers one reference entity. An index CDS covers a basket of entities with equal weights, such as CDX in North America or iTraxx in Europe. When one name defaults, that name is removed from the basket and the notional shrinks in proportion. Index CDS is a cheap, liquid way to trade broad credit exposure. A tranche CDS covers only a slice of the index losses.
Market participants use CDS to:
- hedge credit exposure without selling the bond
- speculate on changes in credit quality
- gain synthetic credit exposure by selling protection, which earns spread without funding a bond purchase
- trade the basis, which is the gap between a CDS spread and the bond's credit spread on the same name
Risks
Other points to remember:
- The restructuring definition and the recovery rate used for settlement can change a payout.
- Most CDS are over-the-counter, so liquidity and counterparty risk differ from exchange-traded futures.
- The buyer's gain from a credit event is capped at notional × (1 − recovery), while the seller's gain is limited to the premiums received.
Exercise
A protection buyer enters a 5-year CDS on 20,000,000 notional. The market spread is 250 bp, the standard coupon is 100 bp, and the effective spread duration is 4. Who pays the upfront premium, how much is it, and what is the approximate price per 100?
Show answer
The spread is above the coupon, so the buyer pays the seller. The upfront premium is (0.0250 − 0.0100) × 4 × 20,000,000 = 1,200,000. That is 6% of notional, so the price is about 100 − 6 = 94.
Exercise
A reference entity defaults on a 10,000,000 CDS, and the auction sets the recovery rate at 35%. How much does the protection seller pay the buyer under cash settlement?
Show answer
The seller pays notional × (1 − recovery rate) = 10,000,000 × 0.65 = 6,500,000.